Skip to content

Reference

OpcMultiStateDiscreteNode Members

Defines a generic implementation of the OpcMultiStateDiscreteNode.

Reference

OpcMultiStateDiscreteNode<T> Members ​

Type
OpcMultiStateDiscreteNode<T>
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from OpcMultiStateDiscreteNode, OpcDataItemNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcMultiStateDiscreteNode ​

22 overloads

OverloadDescription
OpcMultiStateDiscreteNode(OpcName)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified.
OpcMultiStateDiscreteNode(OpcName, T)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value given by value.
OpcMultiStateDiscreteNode(OpcName, OpcNodeId)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified.
OpcMultiStateDiscreteNode(OpcName, OpcNodeId, T)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value given by value.
OpcMultiStateDiscreteNode(IOpcNode, OpcName)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified as a child node of the parent node given.
OpcMultiStateDiscreteNode(IOpcNode, OpcName, T)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcMultiStateDiscreteNode(IOpcNode, OpcName, OpcNodeId)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified as a child node of the parent node given.
OpcMultiStateDiscreteNode(IOpcNode, OpcName, OpcNodeId, T)Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.
OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.
OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, OpcName)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.
OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.
OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, IOpcNode, OpcName)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.
OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, IOpcNode, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.
OpcMultiStateDiscreteNode(OpcNodeModel, OpcName)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified.
OpcMultiStateDiscreteNode(OpcNodeModel, OpcName, T)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value given by value.
OpcMultiStateDiscreteNode(OpcNodeModel, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified.
OpcMultiStateDiscreteNode(OpcNodeModel, OpcName, OpcNodeId, T)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value given by value.
OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified as a child node of the parent node given.
OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName, T)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified as a child node of the parent node given.
OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, T)protectedInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.

OpcMultiStateDiscreteNode(OpcName) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified.

csharp
public OpcMultiStateDiscreteNode(OpcName name)
vbnet
Public Sub New(name As OpcName)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.

OpcMultiStateDiscreteNode(OpcName, T) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value given by value.

csharp
public OpcMultiStateDiscreteNode(OpcName name, T value)
vbnet
Public Sub New(name As OpcName, value As T)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
valueTThe initial value of the new multi state discrete node.

OpcMultiStateDiscreteNode(OpcName, OpcNodeId) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified.

csharp
public OpcMultiStateDiscreteNode(OpcName name, OpcNodeId id)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.

OpcMultiStateDiscreteNode(OpcName, OpcNodeId, T) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value given by value.

csharp
public OpcMultiStateDiscreteNode(OpcName name, OpcNodeId id, T value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As T)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.
valueTThe initial value of the new multi state discrete node.

OpcMultiStateDiscreteNode(IOpcNode, OpcName) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified as a child node of the parent node given.

csharp
public OpcMultiStateDiscreteNode(IOpcNode parent, OpcName name)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.

OpcMultiStateDiscreteNode(IOpcNode, OpcName, T) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.

csharp
public OpcMultiStateDiscreteNode(IOpcNode parent, OpcName name, T value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As T)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
valueTThe initial value of the new multi state discrete node.

OpcMultiStateDiscreteNode(IOpcNode, OpcName, OpcNodeId) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified as a child node of the parent node given.

csharp
public OpcMultiStateDiscreteNode(IOpcNode parent, OpcName name, OpcNodeId id)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.

OpcMultiStateDiscreteNode(IOpcNode, OpcName, OpcNodeId, T) ​

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.

csharp
public OpcMultiStateDiscreteNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    T value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId, value As T)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.
valueTThe initial value of the new multi state discrete node.

OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.

csharp
protected OpcMultiStateDiscreteNode(MultiStateDiscreteState<T> content)
vbnet
Protected Sub New(content As MultiStateDiscreteState(Of T))

Parameters

NameTypeDescription
contentMultiStateDiscreteState<T>The MultiStateDiscreteState<T> to wrap.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.

csharp
protected OpcMultiStateDiscreteNode(
    MultiStateDiscreteState<T> content,
    OpcNodeModel model)
vbnet
Protected Sub New(
    content As MultiStateDiscreteState(Of T),
    model As OpcNodeModel)

Parameters

NameTypeDescription
contentMultiStateDiscreteState<T>The MultiStateDiscreteState<T> to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, OpcName) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.

csharp
protected OpcMultiStateDiscreteNode(
    MultiStateDiscreteState<T> content,
    OpcNodeModel model,
    OpcName name)
vbnet
Protected Sub New(
    content As MultiStateDiscreteState(Of T),
    model As OpcNodeModel,
    name As OpcName)

Parameters

NameTypeDescription
contentMultiStateDiscreteState<T>The MultiStateDiscreteState<T> to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, OpcName, OpcNodeId) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.

csharp
protected OpcMultiStateDiscreteNode(
    MultiStateDiscreteState<T> content,
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(
    content As MultiStateDiscreteState(Of T),
    model As OpcNodeModel,
    name As OpcName,
    id As OpcNodeId)

Parameters

NameTypeDescription
contentMultiStateDiscreteState<T>The MultiStateDiscreteState<T> to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, IOpcNode, OpcName) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.

csharp
protected OpcMultiStateDiscreteNode(
    MultiStateDiscreteState<T> content,
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name)
vbnet
Protected Sub New(
    content As MultiStateDiscreteState(Of T),
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName)

Parameters

NameTypeDescription
contentMultiStateDiscreteState<T>The MultiStateDiscreteState<T> to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcMultiStateDiscreteNode(MultiStateDiscreteState<T>, OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class using the content as the instance to wrap.

csharp
protected OpcMultiStateDiscreteNode(
    MultiStateDiscreteState<T> content,
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(
    content As MultiStateDiscreteState(Of T),
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId)

Parameters

NameTypeDescription
contentMultiStateDiscreteState<T>The MultiStateDiscreteState<T> to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcMultiStateDiscreteNode(OpcNodeModel, OpcName) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified.

csharp
protected OpcMultiStateDiscreteNode(OpcNodeModel model, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.

OpcMultiStateDiscreteNode(OpcNodeModel, OpcName, T) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value given by value.

csharp
protected OpcMultiStateDiscreteNode(OpcNodeModel model, OpcName name, T value)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, value As T)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
valueTThe initial value of the new multi state discrete node.

OpcMultiStateDiscreteNode(OpcNodeModel, OpcName, OpcNodeId) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified.

csharp
protected OpcMultiStateDiscreteNode(
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.

OpcMultiStateDiscreteNode(OpcNodeModel, OpcName, OpcNodeId, T) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value given by value.

csharp
protected OpcMultiStateDiscreteNode(
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id,
    T value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    name As OpcName,
    id As OpcNodeId,
    value As T)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.
valueTThe initial value of the new multi state discrete node.

OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified as a child node of the parent node given.

csharp
protected OpcMultiStateDiscreteNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.

OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName, T) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.

csharp
protected OpcMultiStateDiscreteNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    T value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    value As T)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
valueTThe initial value of the new multi state discrete node.

OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified as a child node of the parent node given.

csharp
protected OpcMultiStateDiscreteNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.

OpcMultiStateDiscreteNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, T) ​

protected

Initializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.

csharp
protected OpcMultiStateDiscreteNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    T value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As T)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new multi state discrete node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new multi state discrete node can be identified and accessed.
valueTThe initial value of the new multi state discrete node.

Properties ​

DataType ​

override

Gets or sets a value which defines a pre-defined used DataTypeId as one of the members defined by the OpcDataType enumeration to simplify querying standard data types.

csharp
public override OpcDataType DataType { get; set; }
vbnet
Public Overrides Property DataType As OpcDataType

Property value

OpcDataType

One of the members defined by the OpcDataType enumeration.

Overrides

DataType

Value ​

Gets or sets the value of the multi state discrete node.

csharp
public T Value { get; set; }
vbnet
Public Property Value As T

Property value

T

A T representing the value of the multi state discrete node. This can be also a null reference (Nothing in Visual Basic).

Methods ​

InitializeDefaults ​

protected · override

Initializes the default values used by the OpcMultiStateDiscreteNode<T>.

csharp
protected override void InitializeDefaults()
vbnet
Protected Overrides Sub InitializeDefaults()

Overrides

InitializeDefaults

Remarks

This method is used to ensure the availability of appropriate node specific default values. For more information like when this method is to be overwritten see InitializeDefaults.

ReadGenericValue ​

Reads the multi state discrete node value using the context specified.

csharp
public T ReadGenericValue(OpcReadVariableValueContext context)
vbnet
Public Function ReadGenericValue(context As OpcReadVariableValueContext) As T

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use to read the multi state discrete node value.

Returns

T

The T multi state discrete node value associated with this node and read using the context specified. This can also be a null reference (Nothing in Visual Basic).

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context is a null reference (Nothing in Visual Basic).

WriteGenericValue ​

Writes the value to the multi state discrete node value using the context specified.

csharp
public void WriteGenericValue(OpcWriteVariableValueContext context, T value)
vbnet
Public Sub WriteGenericValue(
    context As OpcWriteVariableValueContext,
    value As T)

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use to write the multi state discrete node value specified.
valueTThe T to write to the multi state discrete node value.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context is a null reference (Nothing in Visual Basic).