OPCAE.NET Reference Manual
BrowseOPCAreas(OPCAEBrowseType,String,String[]) Method
See Also  Send Feedback
OPCAE.NET Namespace > AreaBrowser Class > BrowseOPCAreas Method : BrowseOPCAreas(OPCAEBrowseType,String,String[]) Method

BrowseFilterType
OPC_AREA - returns only areas. OPC_SOURCE - returns only sources.
FilterCriteria
A server specific filter string. See Appendix A for the definition of the syntax which must be supported by all servers. The implementer may extend this syntax to provide additional capabilities. An empty string indicates no filtering.
areas
Array with the browsed Areas. NULL if the HRESULT is other than S_OK or S_FALSE.

Glossary Item Box

Return an string array with a list of Areas as determined by the passed parameters. The position from which the browse is done can be set via the ChangeBrowsePosition.

Syntax

Visual Basic (Declaration) 
Public Overloads Function BrowseOPCAreas( _
   ByVal BrowseFilterType As OPCAE.OPCAEBrowseType, _
   ByVal FilterCriteria As String, _
   ByRef areas As String() _
) As Integer
C# 
public int BrowseOPCAreas( 
   OPCAE.OPCAEBrowseType BrowseFilterType,
   string FilterCriteria,
   out string[] areas
)

Parameters

BrowseFilterType
OPC_AREA - returns only areas. OPC_SOURCE - returns only sources.
FilterCriteria
A server specific filter string. See Appendix A for the definition of the syntax which must be supported by all servers. The implementer may extend this syntax to provide additional capabilities. An empty string indicates no filtering.
areas
Array with the browsed Areas. NULL if the HRESULT is other than S_OK or S_FALSE.

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.