Spread Windows Forms 12.0 Product Documentation
ConnectData Method


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.
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

Reference

IRtdServer Interface
IRtdServer Members