Reference
OpcModellingRules Members
Provides the identifiers of the objects representing the modelling rules of OPC UA and the mapping between them and the members of OpcModellingRule.
Reference
OpcModellingRules Members
- Type
- OpcModellingRules
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Fields
ExposesItsArrayId
Provides the identifier of the object representing the modelling rule ExposesItsArray.
public static readonly OpcNodeId ExposesItsArrayIdPublic Shared ReadOnly ExposesItsArrayId As OpcNodeIdField value
MandatoryId
Provides the identifier of the object representing the modelling rule Mandatory.
public static readonly OpcNodeId MandatoryIdPublic Shared ReadOnly MandatoryId As OpcNodeIdField value
MandatoryPlaceholderId
Provides the identifier of the object representing the modelling rule MandatoryPlaceholder.
public static readonly OpcNodeId MandatoryPlaceholderIdPublic Shared ReadOnly MandatoryPlaceholderId As OpcNodeIdField value
OptionalId
Provides the identifier of the object representing the modelling rule Optional.
public static readonly OpcNodeId OptionalIdPublic Shared ReadOnly OptionalId As OpcNodeIdField value
OptionalPlaceholderId
Provides the identifier of the object representing the modelling rule OptionalPlaceholder.
public static readonly OpcNodeId OptionalPlaceholderIdPublic Shared ReadOnly OptionalPlaceholderId As OpcNodeIdField value
Methods
GetModellingRule
Retrieves the according OpcModellingRule enumeration member for the nodeId used by a modelling rule.
public static OpcModellingRule? GetModellingRule(OpcNodeId nodeId)Public Shared Function GetModellingRule(
nodeId As OpcNodeId) As OpcModellingRule?Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The identifier of the type definition of a modelling rule. |
Returns
One of the members defined by the OpcModellingRule enumeration which represents the type identifier specified or a null reference (Nothing in Visual Basic) if the specific type of rule can't be determined.
GetNodeId
Retrieves the according OpcNodeId for the type of rule defined by the OpcModellingRule specified by rule.
public static OpcNodeId GetNodeId(OpcModellingRule rule)Public Shared Function GetNodeId(rule As OpcModellingRule) As OpcNodeIdParameters
| Name | Type | Description |
|---|---|---|
rule | OpcModellingRule | The OpcModellingRule value from which the according OpcNodeId of the rule type is to be determined. |
Returns
The OpcNodeId of the rule type the rule refer to or a null reference (Nothing in Visual Basic) if the rule is not a foundation defined rule type.

