QuickOPC User's Guide and Reference
SetAreas Method (AESubscriptionFilter)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AESubscriptionFilter Class : SetAreas Method
Sets array of process area strings of interest - only events or conditions in these areas will be reported.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetAreas( _
   ByVal nodeDescriptorArray As Object _
) 
'Usage
 
Dim instance As AESubscriptionFilter
Dim nodeDescriptorArray As Object
 
instance.SetAreas(nodeDescriptorArray)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetAreas( 
   object nodeDescriptorArray
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
void SetAreas( 
   Object^ nodeDescriptorArray
) 

Parameters

nodeDescriptorArray
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

Intended for certain COM callers. You can simply use the Areas property setter in .NET instead.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also