QuickOPC User's Guide and Reference
UATypeDefinitionIdAttribute Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace : UATypeDefinitionIdAttribute Class
Defines an OPC-UA type definition Id associated with the .NET type (class or structure).
Syntax
'Declaration
 
<AttributeUsageAttribute(AttributeTargets.Class Or  _
    AttributeTargets.Struct, 
   AllowMultiple=True, 
   Inherited=False)>
<ComVisibleAttribute(False)>
<MeansImplicitUseAttribute()>
Public NotInheritable Class UATypeDefinitionIdAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
'Usage
 
Dim instance As UATypeDefinitionIdAttribute
[AttributeUsage(AttributeTargets.Class | 
    AttributeTargets.Struct, 
   AllowMultiple=true, 
   Inherited=false)]
[ComVisible(false)]
[MeansImplicitUse()]
public sealed class UATypeDefinitionIdAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
[AttributeUsage(AttributeTargets.Class | 
    AttributeTargets.Struct, 
   AllowMultiple=true, 
   Inherited=false)]
[ComVisible(false)]
[MeansImplicitUse()]
public ref class UATypeDefinitionIdAttribute sealed : public System.Attribute, System.Runtime.InteropServices._Attribute  
Remarks
There can be multiple OPC-UA type definition Ids associated with the same .NET type.
Inheritance Hierarchy

System.Object
   System.Attribute
      OpcLabs.EasyOpc.UA.InformationModel.UATypeDefinitionIdAttribute

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