~~NOTRANS~~ ====== OpcAddDataItemNode Members ====== **Namespace:** Opc.UaFx \\ **Assemblies:** Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll \\ The [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] type exposes the following members. ===== Constructors ===== ==== OpcAddDataItemNode(OpcName) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add. The according [[Opc.UaFx.OpcNodeId|OpcNodeId]] to identify and access the new node is determined by the service. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add. The according [[Opc.UaFx.OpcNodeId|OpcNodeId]] to identify and access the new node is determined by the service. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, object value) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data item node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' or ''nodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId, object value) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data item node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' or ''nodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId, OpcNodeId) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId, OpcNodeId, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, object value) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data item node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the type of reference identified by the ''referenceTypeId'' specified. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using the type of reference identified by ''referenceTypeId''.\\ ''referenceTypeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] which identifies the type of reference to use for the new node and the existing parent node identified by ''parentNodeId''.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' or ''referenceTypeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'', ''parentNodeId'' or ''referenceTypeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the type of reference identified by the ''referenceTypeId'' specified. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId, object value) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using the type of reference identified by ''referenceTypeId''.\\ ''referenceTypeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] which identifies the type of reference to use for the new node and the existing parent node identified by ''parentNodeId''.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data item node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' or ''referenceTypeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'', ''parentNodeId'' or ''referenceTypeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the ''referenceType'' specified as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ ''referenceType'' [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] \\ One of the members defined by the [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] enumeration to use to setup the reference between the new node and the existing parent node identified by ''parentNodeId''.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the ''name'' of the data item node to add, which shall be additionally accessible by the ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the ''referenceType'' specified as the type of reference. **C#** \\ <code csharp> public OpcAddDataItemNode(OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType, object value) </code> \\ **Parameters** ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ ''referenceType'' [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] \\ One of the members defined by the [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] enumeration to use to setup the reference between the new node and the existing parent node identified by ''parentNodeId''.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data item node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' defined. The according [[Opc.UaFx.OpcNodeId|OpcNodeId]] to identify and access the new node is determined by the service. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' defined. The according [[Opc.UaFx.OpcNodeId|OpcNodeId]] to identify and access the new node is determined by the service. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, object value) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data variable node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' or ''nodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the [[Opc.UaFx.OpcObjectTypesMembers#ObjectsFolder|ObjectsFolder]] node using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, object value) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data variable node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'' or ''nodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, object value) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data variable node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the type of reference identified by the ''referenceTypeId'' specified. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using the type of reference identified by ''referenceTypeId''.\\ ''referenceTypeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] which identifies the type of reference to use for the new node and the existing parent node identified by ''parentNodeId''.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' or ''referenceTypeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'', ''parentNodeId'' or ''referenceTypeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the type of reference identified by the ''referenceTypeId'' specified. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId, object value) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using the type of reference identified by ''referenceTypeId''.\\ ''referenceTypeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] which identifies the type of reference to use for the new node and the existing parent node identified by ''parentNodeId''.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data variable node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' or ''referenceTypeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'', ''parentNodeId'' or ''referenceTypeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the ''referenceType'' specified as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ ''referenceType'' [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] \\ One of the members defined by the [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] enumeration to use to setup the reference between the new node and the existing parent node identified by ''parentNodeId''.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ==== OpcAddDataItemNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, Object) ==== <panel> Initializes a new instance of the [[Opc.UaFx.OpcAddDataItemNode|OpcAddDataItemNode]] class using the specified ''type'' of data item node to add, which shall be accessible by the ''name'' and ''nodeId'' defined. The new node will be a child of the node identified by ''parentNodeId'' using the ''referenceType'' specified as the type of reference. **C#** \\ <code csharp> protected OpcAddDataItemNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType, object value) </code> \\ **Parameters** ''type'' [[Opc.UaFx.OpcVariableType|OpcVariableType]] \\ One of the members defined by the [[Opc.UaFx.OpcVariableType|OpcVariableType]] enumeration which identifies the predefined underlying type definition the new node will represent an instance of.\\ ''name'' [[Opc.UaFx.OpcName|OpcName]] \\ The [[Opc.UaFx.OpcName|OpcName]] through that the new data item node can be accessed.\\ ''nodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] through that the new node can be identified and accessed. In case there [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] is specified the server will determine the according [[Opc.UaFx.OpcNodeId|OpcNodeId]] by its own.\\ ''parentNodeId'' [[Opc.UaFx.OpcNodeId|OpcNodeId]] \\ The [[Opc.UaFx.OpcNodeId|OpcNodeId]] of the parent node to reference using [[Opc.UaFx.OpcReferenceTypeMembers#HasComponent|HasComponent]] as the type of reference.\\ ''referenceType'' [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] \\ One of the members defined by the [[Opc.UaFx.OpcReferenceType|OpcReferenceType]] enumeration to use to setup the reference between the new node and the existing parent node identified by ''parentNodeId''.\\ ''value'' [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] \\ The initial value of the new data variable node.\\ \\ **Exceptions** [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception|ArgumentException]] \\ The ''parentNodeId'' is equals [[Opc.UaFx.OpcNodeIdMembers#Null|Null]] or ''name'' is equals [[Opc.UaFx.OpcNameMembers#Null|Null]].\\ [[https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception|ArgumentNullException]] \\ The ''name'', ''nodeId'' or ''parentNodeId'' is a null reference (Nothing in Visual Basic).\\ </panel> ===== Properties ===== ==== Definition ==== <panel> Gets or sets a vendor-specific, human readable string that specifies how the value of the data item is calculated. A null reference (Nothing in Visual Basic) indicates that the property is undefined and its default value is used. **C#** \\ <code csharp> public string Definition { get; set; } </code> \\ **Property Value** [[https://docs.microsoft.com/en-us/dotnet/api/system.string|String]] \\ A non-localized value which will often contain an equation that can be parsed by certain clients. </panel> ==== ValuePrecision ==== <panel> Gets or sets a value which specifies the maximum precision that the server can maintain for the item based on restrictions in the target environment. A null reference (Nothing in Visual Basic) indicates that the property is undefined and its default value is used. **C#** \\ <code csharp> public double? ValuePrecision { get; set; } </code> \\ **Property Value** [[https://docs.microsoft.com/en-us/dotnet/api/system.nullable|Nullable]]<[[https://docs.microsoft.com/en-us/dotnet/api/system.double|Double]]> \\ The maximum precision that the server can maintain for the item. </panel>