A type description for a structured value.
More...
Inherits UnifiedAutomation.UaBase.GenericDataType, and IEnumerable< KeyValuePair< string, GenericStructureDataTypeField >>.
Inherited by UnifiedAutomation.UaBase.GenericUnionDataType.
A type description for a structured value.
UnifiedAutomation.UaBase.GenericStructureDataType.GenericStructureDataType |
( |
| ) |
|
|
inline |
Adds the field for the specified field name.
- Parameters
-
name | The name of the field. |
value | The field. |
- Exceptions
-
System.ArgumentNullException | name |
Returns an enumerator that iterates through the collection.
- Returns
- A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
bool UnifiedAutomation.UaBase.GenericStructureDataType.Remove |
( |
string |
name | ) |
|
|
inline |
Removes the field with the specified name.
- Parameters
-
name | The name of the field. |
- Returns
- The true if the field exists. False otherwise.
- Exceptions
-
System.ArgumentNullException | name |
void UnifiedAutomation.UaBase.GenericStructureDataType.RemoveAt |
( |
int |
ii | ) |
|
|
inline |
Removes the field at the specified index.
- Parameters
-
override string UnifiedAutomation.UaBase.GenericStructureDataType.ToString |
( |
string |
format, |
|
|
IFormatProvider |
formatProvider |
|
) |
| |
|
inlinevirtual |
Checks whether the specified field exists and returns it if it does.
- Parameters
-
name | The field name. |
value | The value. |
- Returns
- True if the field exists; False otherwise.
int UnifiedAutomation.UaBase.GenericStructureDataType.Count |
|
get |
Gets the number of fields in the structure.
The number of fields in the structure..
Gets or sets the field at the specified index.
The field at the specified index.
- Parameters
-
index | The zero based index. |
- Returns
- The field at the index.
Gets or sets the field with the specified field name.
The field with the specified field name.
- Parameters
-
- Returns
- The field with the specified field name.
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaBase/Schema/GenericDataType.cs