OPC Studio User's Guide and Reference
ApplicationType Property (_UADiscoveryElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery.ComTypes Namespace > _UADiscoveryElement Interface : ApplicationType Property
The type of application.
Syntax
'Declaration
 
Property ApplicationType As UAApplicationTypes
'Usage
 
Dim instance As _UADiscoveryElement
Dim value As UAApplicationTypes
 
instance.ApplicationType = value
 
value = instance.ApplicationType
UAApplicationTypes ApplicationType {get; set;}
property UAApplicationTypes ApplicationType {
   UAApplicationTypes get();
   void set (    UAApplicationTypes value);
}

Property Value

The default value of this property is None (UAApplicationTypes.None).

Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

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

If this property is left at its default value (OpcLabs.EasyOpc.UA.Discovery.UAApplicationTypes.None), the effective application types used by the application will be OpcLabs.EasyOpc.UA.Discovery.UAApplicationTypes.ClientOrServer.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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