The function will return E_FAIL if called for a FLAT space. An error is returned if the passed string does not represent a 'branch'. Moving UP from the 'root' will return E_FAIL.
Note OPC_BROWSE_TO is new for version 2.0. Clients should be prepared to handle E_INVALIDARG if they pass this to a 1.0 server.
Visual Basic (Declaration) | |
---|---|
Public Function ChangeBrowsePosition( _ ByVal direction As OPCBROWSEDIRECTION, _ ByVal name As String _ ) As Integer |
C# | |
---|---|
public int ChangeBrowsePosition( OPCBROWSEDIRECTION direction, string name ) |
Parameters
- direction
- IN: direction, up, down or to
- name
- IN: branch name to move to