OPCHDA.NET-UA
ChangeBrowsePosition Method
See Also  Send Feedback
OpcHDaNetUaOption.Net4 Assembly > hdaUAwrapper Namespace > HDABrowser Class : ChangeBrowsePosition Method

BrowseDirection
The direction to move the browse interface.
BrowsePos
Indicates the branch name when moving down the hierarchy and the full path to a branch when moving directly to a position. Note: this parameter is ignored when moving up the hierarchy and should be set to an empty string. For OPCHDA_BROWSE_DIRECT, if an empty string is passed, the server shall move the browser to the root position.

Glossary Item Box

This method provides a way to move up or down relative to the current position, or directly to a given position in a hierarchy.

Syntax

Visual Basic (Declaration) 
Public Function ChangeBrowsePosition( _
   ByVal BrowseDirection As OPCHDA_BROWSEDIRECTION, _
   ByVal BrowsePos As String _
) As Integer
C# 
public int ChangeBrowsePosition( 
   OPCHDA_BROWSEDIRECTION BrowseDirection,
   string BrowsePos
)

Parameters

BrowseDirection
The direction to move the browse interface.
BrowsePos
Indicates the branch name when moving down the hierarchy and the full path to a branch when moving directly to a position. Note: this parameter is ignored when moving up the hierarchy and should be set to an empty string. For OPCHDA_BROWSE_DIRECT, if an empty string is passed, the server shall move the browser to the root position.

Return Value

S_OK or S_FAIL

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.