4.2.3.5
CurrentPosition
Description
(Read-only) Current position in the tree. This string will be “” (i.e. the "root") initially. It will
always be “” if Organization is OPCFlat.
Syntax
CurrentPosition As String
Remarks
Current Position returns the absolute position and is equivalent to calling GetItemID on a branch
(see also the Custom Interface Spec).
Example
VB Syntax Example (getting the property):
Dim ACurrentPosition As String
AnOPCServerBrowser.MoveDown(“level_1”)
Set ACurrentPosition = AnOPCServerBrowser.CurrentPosition
4.2.3.6
Count
Description
(Read-only) Required property for collections. Returns the number of items in the
collection.
Syntax
Count As Long
Example
VB Syntax Example (getting the property):
Dim AnOPCCount As Long
AnOPCCount = AnOPCServerBrowser.Count
Do'stlaringiz bilan baham: |