An error is returned if the passed string does not represent an area. Moving ‘up’ from the ‘root’ shall return E_FAIL.
Visual Basic (Declaration) | |
---|---|
Public Function ChangeBrowsePosition( _ ByVal browseDirection As OPCBROWSEDIRECTION, _ ByVal area As String _ ) As Integer |
C# | |
---|---|
public int ChangeBrowsePosition( OPCBROWSEDIRECTION browseDirection, string area ) |
Parameters
- browseDirection
- A value of the OPCBROWSEDIRECTION enumerator.
- area
- For DOWN, the partial area name of the area to move into. This would be one of the strings returned from BrowseOPCAreas. For UP this parameter is ignored and should point to a NULL string. For BROWSE_TO, the fully qualified area name (as obtained from GetQualifiedAreaName method) or an empty string to go to the root.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family