.NET Based OPC UA Client/Server SDK
3.2.1.522
|
A type description for a structured value. More...
Inherits UnifiedAutomation.UaBase.GenericDataType, and IEnumerable< KeyValuePair< string, GenericStructureDataTypeField >>.
Inherited by UnifiedAutomation.UaBase.GenericOptionalFieldListDataType, UnifiedAutomation.UaBase.GenericStructureWithSubtypedValuesDataType, and UnifiedAutomation.UaBase.GenericUnionDataType.
Public Member Functions | |
GenericStructureDataType () | |
Initializes a new instance of the GenericStructureDataType class. More... | |
bool | TryGetValue (string name, out GenericStructureDataTypeField value) |
Checks whether the specified field exists and returns it if it does. More... | |
virtual void | Add (GenericStructureDataTypeField value) |
Adds the field for the specified field name. More... | |
bool | Remove (string name) |
Removes the field with the specified name. More... | |
void | RemoveAt (int ii) |
Removes the field at the specified index. More... | |
IEnumerator< KeyValuePair < string, GenericStructureDataTypeField > > | GetEnumerator () |
Returns an enumerator that iterates through the collection. More... | |
override string | ToString (string format, IFormatProvider formatProvider) |
Returns a System.String that represents this instance. More... | |
override DataTypeDefinitionSettings | DataTypeDefinition (NamespaceTable namespaceUris) |
Returns the DataTypeDefinitionSettings for the structure. More... | |
Public Member Functions inherited from UnifiedAutomation.UaBase.GenericDataType | |
override string | ToString () |
Returns a System.String that represents this instance. More... | |
Protected Member Functions | |
void | Rename (string oldName, string newName) |
Renames the specified field. More... | |
Properties | |
ExpandedNodeId | XmlEncodingNodeId [get, set] |
The NodeId for the DefaultXML encoding node. More... | |
ExpandedNodeId | BinaryEncodingNodeId [get, set] |
The NodeId for the DefaultBinary encoding node. More... | |
override GenericDataTypeClass | TypeClass [get] |
Gets the type class for the object. More... | |
int | Count [get] |
Gets the number of fields in the structure. More... | |
IList< string > | Fields [get] |
Gets list of field names. More... | |
GenericStructureDataTypeField | this[string key] [get, set] |
Gets or sets the field with the specified field name. More... | |
GenericStructureDataTypeField | this[int index] [get, set] |
Gets or sets the field at the specified index. More... | |
Properties inherited from UnifiedAutomation.UaBase.GenericDataType | |
XmlQualifiedName | Name [get, set] |
Gets or sets the qualified name for the type. More... | |
abstract GenericDataTypeClass | TypeClass [get] |
Gets the type class for the object. More... | |
virtual ExpandedNodeId | DataTypeId [get, set] |
Gets or sets the DataTypeId More... | |
A type description for a structured value.
UnifiedAutomation.UaBase.GenericStructureDataType.GenericStructureDataType | ( | ) |
Initializes a new instance of the GenericStructureDataType class.
|
virtual |
Adds the field for the specified field name.
value | A description for the field. |
Reimplemented in UnifiedAutomation.UaBase.GenericUnionDataType.
|
virtual |
Returns the DataTypeDefinitionSettings for the structure.
namespaceUris | The NamespaceTable to resolve the DataTypeIds of the fields. |
Reimplemented from UnifiedAutomation.UaBase.GenericDataType.
Reimplemented in UnifiedAutomation.UaBase.GenericUnionWithSubtypedValuesDataType, UnifiedAutomation.UaBase.GenericStructureWithSubtypedValuesDataType, UnifiedAutomation.UaBase.GenericOptionalFieldListDataType, and UnifiedAutomation.UaBase.GenericUnionDataType.
IEnumerator<KeyValuePair<string, GenericStructureDataTypeField> > UnifiedAutomation.UaBase.GenericStructureDataType.GetEnumerator | ( | ) |
Returns an enumerator that iterates through the collection.
bool UnifiedAutomation.UaBase.GenericStructureDataType.Remove | ( | string | name | ) |
Removes the field with the specified name.
name | The name of the field. |
void UnifiedAutomation.UaBase.GenericStructureDataType.RemoveAt | ( | int | ii | ) |
Removes the field at the specified index.
ii | The ii. |
|
protected |
Renames the specified field.
oldName | The old name. |
newName | The new name. |
|
virtual |
Returns a System.String that represents this instance.
format | The format. |
formatProvider | The format provider. |
Reimplemented from UnifiedAutomation.UaBase.GenericDataType.
Reimplemented in UnifiedAutomation.UaBase.GenericOptionalFieldListDataType, and UnifiedAutomation.UaBase.GenericUnionDataType.
bool UnifiedAutomation.UaBase.GenericStructureDataType.TryGetValue | ( | string | name, |
out GenericStructureDataTypeField | value | ||
) |
Checks whether the specified field exists and returns it if it does.
name | The field name. |
value | The value. |
|
getset |
The NodeId for the DefaultBinary encoding node.
|
get |
Gets the number of fields in the structure.
The number of fields in the structure.
|
get |
Gets list of field names.
The list of fields.
|
getset |
Gets or sets the field at the specified index.
The field at the specified index.
index | The zero based index. |
|
getset |
Gets or sets the field with the specified field name.
The field with the specified field name.
key | The name. |
|
get |
Gets the type class for the object.
The type class.
|
getset |
The NodeId for the DefaultXML encoding node.