Item method

Description
Required property for collections. Returns a name indexed by ItemSpecifier. The name will be a branch or leaf name, depending on previous calls to ShowBranches or ShowLeafs. Item is the default for the OPCBrowser.
Syntax
Item
(ItemSpecifier As Variant) As String
ItemSpecifier
— 1-based index into the collection
Example
Dim MyOPCBrowser as OPCBrowser
Set MyOPCBrowser = MyOPCServer.CreateBrowser
'/* Get branch information
MyOPCBrowser.ShowBranches
'/* Display Branch name
txtBranch = MyOPCBrowser.Item(1)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal