OPC Studio User's Guide and Reference
ElementType Property (UABrowsePathElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation Namespace > UABrowsePathElement Class : ElementType Property
The type of this OPC-UA browse path element.
Syntax
'Declaration
 
<DataMemberAttribute()>
Public Property ElementType As UABrowsePathElementType
'Usage
 
Dim instance As UABrowsePathElement
Dim value As UABrowsePathElementType
 
instance.ElementType = value
 
value = instance.ElementType
[DataMember()]
public UABrowsePathElementType ElementType {get; set;}
[DataMember()]
public:
property UABrowsePathElementType ElementType {
   UABrowsePathElementType get();
   void set (    UABrowsePathElementType value);
}

Property Value

The default value of this property is AnyHierarchical (UABrowsePathElementType.AnyHierarchical).

Exceptions
ExceptionDescription

An invalid enumeration value was used.

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

The getter method of this property is pure, i.e. it does not have observable side effects.

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