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 StringItemSpecifier — 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