OPCAE.NET Reference Manual
BrowseOPCAreas(OPCAEBrowseType,String,IEnumString) Method
See Also  Send Feedback
OPCAE.NET Namespace > AreaBrowser Class > BrowseOPCAreas Method : BrowseOPCAreas(OPCAEBrowseType,String,IEnumString) 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.
EnumString
String enumerator with the browsed Areas

Glossary Item Box

Return an IEnumString for 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 EnumString As IEnumString _
) As Integer
C# 
public int BrowseOPCAreas( 
   OPCAE.OPCAEBrowseType BrowseFilterType,
   string FilterCriteria,
   out IEnumString EnumString
)

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.
EnumString
String enumerator with the browsed Areas

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.