QuickOPC User's Guide and Reference
GetMandatoryAttributeIds Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.Extensions Namespace > UANodeClassExtension Class : GetMandatoryAttributeIds Method
A node class
Determines the attribute Ids that are mandatory for a given node class.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Shared Function GetMandatoryAttributeIds( _
   ByVal nodeClass As UANodeClass _
) As IEnumerable(Of UAAttributeId)
'Usage
 
Dim nodeClass As UANodeClass
Dim value As IEnumerable(Of UAAttributeId)
 
value = UANodeClassExtension.GetMandatoryAttributeIds(nodeClass)
[Extension()]
[NotNull()]
public static IEnumerable<UAAttributeId> GetMandatoryAttributeIds( 
   UANodeClass nodeClass
)
[Extension()]
[NotNull()]
public:
static IEnumerable<UAAttributeId>^ GetMandatoryAttributeIds( 
   UANodeClass nodeClass
) 

Parameters

nodeClass
A node class

Return Value

Returns the attribute Ids that are mandatory for a node of a given node class.
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