OPCAE.NET Reference Manual
ChangeBrowsePosition Method
See Also  Send Feedback
OPCAE.NET Namespace > AreaBrowser Class : ChangeBrowsePosition Method

BrowseDirection
OPCAE_BROWSE_UP,OPCAE_BROWSE_DOWN or OPCAE_BROWSE_TO
pos
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.

Glossary Item Box

Provides a way to move ‘up’ or ‘down’ in a hierarchical space from the current position, or a way to move to a specific position in the area space tree. The target String must represent an area, rather than a source.

Syntax

Visual Basic (Declaration) 
Public Function ChangeBrowsePosition( _
   ByVal BrowseDirection As OPCAE.OPCAEBrowseDirection, _
   ByVal pos As String _
) As Integer
C# 
public int ChangeBrowsePosition( 
   OPCAE.OPCAEBrowseDirection BrowseDirection,
   string pos
)

Parameters

BrowseDirection
OPCAE_BROWSE_UP,OPCAE_BROWSE_DOWN or OPCAE_BROWSE_TO
pos
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.

Return Value

HRESULTS error/success code.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

© 2002-2018 Advosol Inc. All Rights Reserved.