Spread Windows Forms 13.0 Product Documentation
GrapeCity.Spreadsheet Assembly / Microsoft.Office.Interop.Excel Namespace / IRtdServer Interface / ConnectData Method
A unique value, assigned by Microsoft Excel, which identifies the topic.
A single-dimensional array of strings identifying the topic.
True to determine if new values are to be acquired.


In This Topic
    ConnectData Method
    In This Topic
    Adds new topics from a real-time data server. The ConnectData method is called when a file is opened that contains real-time data functions or when a user types in a new formula which contains the RTD function.
    Syntax
    'Declaration
     
    Function ConnectData( _
       ByVal topicId As Integer, _
       ByRef strings As Array, _
       ByRef newValues As Boolean _
    ) As Object
    'Usage
     
    Dim instance As IRtdServer
    Dim topicId As Integer
    Dim strings As Array
    Dim newValues As Boolean
    Dim value As Object
     
    value = instance.ConnectData(topicId, strings, newValues)
    object ConnectData( 
       int topicId,
       ref Array strings,
       ref bool newValues
    )

    Parameters

    topicId
    A unique value, assigned by Microsoft Excel, which identifies the topic.
    strings
    A single-dimensional array of strings identifying the topic.
    newValues
    True to determine if new values are to be acquired.

    Return Value

    System.Object.
    See Also