The value of a field which contains a structured value.
More...
Inherits UnifiedAutomation.UaBase.GenericValue, and IEnumerable< KeyValuePair< string, GenericValue >>.
The value of a field which contains a structured value.
UnifiedAutomation.UaBase.GenericStructuredValue.GenericStructuredValue |
( |
| ) |
|
|
inline |
UnifiedAutomation.UaBase.GenericStructuredValue.GenericStructuredValue |
( |
IList< string > |
names, |
|
|
IList< GenericValue > |
values |
|
) |
| |
|
inline |
Initializes a new instance of the GenericStructuredValue class.
- Parameters
-
names | The list of field names. |
values | The matching list of field values. |
void UnifiedAutomation.UaBase.GenericStructuredValue.Add |
( |
string |
name, |
|
|
GenericValue |
value |
|
) |
| |
|
inline |
Adds the value for the specified field name.
- Parameters
-
name | The name of the field. |
value | The value. |
- Exceptions
-
System.ArgumentNullException | key |
bool UnifiedAutomation.UaBase.GenericStructuredValue.ContainsKey |
( |
string |
name | ) |
|
|
inline |
Determines whether the specified field exists.
- Parameters
-
- Returns
- True if the field exists; False otherwise.
IEnumerator<KeyValuePair<string, GenericValue> > UnifiedAutomation.UaBase.GenericStructuredValue.GetEnumerator |
( |
| ) |
|
|
inline |
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.GenericStructuredValue.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.GenericStructuredValue.RemoveAt |
( |
int |
ii | ) |
|
|
inline |
Removes the value at the specified index.
- Parameters
-
override string UnifiedAutomation.UaBase.GenericStructuredValue.ToString |
( |
string |
format, |
|
|
IFormatProvider |
formatProvider |
|
) |
| |
|
inlinevirtual |
Returns a System.String that represents this instance.
- Parameters
-
format | The format. |
formatProvider | The format provider. |
- Returns
- A System.String that represents this instance.
Reimplemented from UnifiedAutomation.UaBase.GenericValue.
bool UnifiedAutomation.UaBase.GenericStructuredValue.TryGetValue |
( |
string |
name, |
|
|
out GenericValue |
value |
|
) |
| |
|
inline |
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.GenericStructuredValue.Count |
|
get |
Gets the number of values in the structure.
The number of values in the structure.
Gets or sets the type description for the structure.
The type type description for the structure.
GenericValue UnifiedAutomation.UaBase.GenericStructuredValue.this[int index] |
|
getset |
Gets or sets the value at the specified index.
The value at the specified index.
- Parameters
-
index | The zero based index. |
- Returns
- The value at the index.
GenericValue UnifiedAutomation.UaBase.GenericStructuredValue.this[string key] |
|
getset |
Gets or sets the value with the specified field name.
The value with the specified field name.
- Parameters
-
- Returns
- The value with the specified field name.
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaBase/Encoders/GenericValue.cs