Skip to content

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 ​

static

Provides the identifier of the object representing the modelling rule ExposesItsArray.

csharp
public static readonly OpcNodeId ExposesItsArrayId
vbnet
Public Shared ReadOnly ExposesItsArrayId As OpcNodeId

Field value

OpcNodeId

MandatoryId ​

static

Provides the identifier of the object representing the modelling rule Mandatory.

csharp
public static readonly OpcNodeId MandatoryId
vbnet
Public Shared ReadOnly MandatoryId As OpcNodeId

Field value

OpcNodeId

MandatoryPlaceholderId ​

static

Provides the identifier of the object representing the modelling rule MandatoryPlaceholder.

csharp
public static readonly OpcNodeId MandatoryPlaceholderId
vbnet
Public Shared ReadOnly MandatoryPlaceholderId As OpcNodeId

Field value

OpcNodeId

OptionalId ​

static

Provides the identifier of the object representing the modelling rule Optional.

csharp
public static readonly OpcNodeId OptionalId
vbnet
Public Shared ReadOnly OptionalId As OpcNodeId

Field value

OpcNodeId

OptionalPlaceholderId ​

static

Provides the identifier of the object representing the modelling rule OptionalPlaceholder.

csharp
public static readonly OpcNodeId OptionalPlaceholderId
vbnet
Public Shared ReadOnly OptionalPlaceholderId As OpcNodeId

Field value

OpcNodeId

Methods ​

GetModellingRule ​

static · since v2.50

Retrieves the according OpcModellingRule enumeration member for the nodeId used by a modelling rule.

csharp
public static OpcModellingRule? GetModellingRule(OpcNodeId nodeId)
vbnet
Public Shared Function GetModellingRule(
    nodeId As OpcNodeId) As OpcModellingRule?

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the type definition of a modelling rule.

Returns

Nullable<OpcModellingRule>

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 ​

static

Retrieves the according OpcNodeId for the type of rule defined by the OpcModellingRule specified by rule.

csharp
public static OpcNodeId GetNodeId(OpcModellingRule rule)
vbnet
Public Shared Function GetNodeId(rule As OpcModellingRule) As OpcNodeId

Parameters

NameTypeDescription
ruleOpcModellingRuleThe OpcModellingRule value from which the according OpcNodeId of the rule type is to be determined.

Returns

OpcNodeId

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.