OPCDA.NET Reference Manual
ChangeBrowsePosition Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcServer Class : ChangeBrowsePosition Method

direction
IN: direction, up, down or to
name
IN: branch name to move to

Glossary Item Box

Change the current browse position. Move up, down or to in the hierarchical address space. ( IOPCBrowseServerAddressSpace:: ChangeBrowsePosition )
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.

Syntax

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

Requirements

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

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.