UA Bundle SDK .NET
2.1.0.222
|
A union of all support UA data types. More...
Inherits IFormattable, and ICloneable.
Public Member Functions | |
Variant (object source, TypeInfo info) | |
Initializes a new instance of the Variant struct. | |
Variant (bool source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< bool > source) | |
Initializes a new instance of the Variant struct. | |
Variant (sbyte source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< sbyte > source) | |
Initializes a new instance of the Variant struct. | |
Variant (byte source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< byte > source) | |
Initializes a new instance of the Variant struct. | |
Variant (short source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< short > source) | |
Initializes a new instance of the Variant struct. | |
Variant (ushort source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< ushort > source) | |
Initializes a new instance of the Variant struct. | |
Variant (int source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< int > source) | |
Initializes a new instance of the Variant struct. | |
Variant (uint source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< uint > source) | |
Initializes a new instance of the Variant struct. | |
Variant (long source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< long > source) | |
Initializes a new instance of the Variant struct. | |
Variant (ulong source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< ulong > source) | |
Initializes a new instance of the Variant struct. | |
Variant (float source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< float > source) | |
Initializes a new instance of the Variant struct. | |
Variant (double source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< double > source) | |
Initializes a new instance of the Variant struct. | |
Variant (DateTime source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< DateTime > source) | |
Initializes a new instance of the Variant struct. | |
Variant (Guid source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< Guid > source) | |
Initializes a new instance of the Variant struct. | |
Variant (Uuid source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< Uuid > source) | |
Initializes a new instance of the Variant struct. | |
Variant (string source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< string > source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< byte[]> source) | |
Initializes a new instance of the Variant struct. | |
Variant (QualifiedName source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< QualifiedName > source) | |
Initializes a new instance of the Variant struct. | |
Variant (LocalizedText source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< LocalizedText > source) | |
Initializes a new instance of the Variant struct. | |
Variant (NodeId source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< NodeId > source) | |
Initializes a new instance of the Variant struct. | |
Variant (ExpandedNodeId source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< ExpandedNodeId > source) | |
Initializes a new instance of the Variant struct. | |
Variant (StatusCode source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< StatusCode > source) | |
Initializes a new instance of the Variant struct. | |
Variant (XmlElement source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< XmlElement > source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEncodeable source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< IEncodeable > source) | |
Initializes a new instance of the Variant struct. | |
Variant (ExtensionObject source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< ExtensionObject > source) | |
Initializes a new instance of the Variant struct. | |
Variant (IEnumerable< Variant > source) | |
Initializes a new instance of the Variant struct. | |
object | Clone () |
Creates a deep copy of the object. | |
string | ToString (string format, IFormatProvider formatProvider) |
Formats the object as a string. | |
string | Format (IFormatProvider formatProvider) |
Formats a node id as a string. | |
T | GetValue< T > (T defaultValue) |
Gets the value there is no error and it is the correct type. | |
Variant | ConvertTo (BuiltInType targetType) |
Converts the specified target type. | |
bool | ToBoolean () |
Returns the value as a Boolean. | |
sbyte | ToSByte () |
Returns the value as a SByte. | |
byte | ToByte () |
Returns the value as a Byte. | |
short | ToInt16 () |
Returns the value as an Int16. | |
ushort | ToUInt16 () |
Returns the value as a UInt16. | |
int | ToInt32 () |
Returns the value as an Int32. | |
uint | ToUInt32 () |
Returns the value as a UInt32. | |
long | ToInt64 () |
Returns the value as an Int64. | |
ulong | ToUInt64 () |
Returns the value as a UInt64. | |
float | ToFloat () |
Returns the value as a Float. | |
double | ToDouble () |
Returns the value as a Double. | |
override string | ToString () |
Returns the value as a String. | |
DateTime | ToDateTime () |
Returns the value as a DateTime. | |
Uuid | ToGuid () |
Returns the value as a Guid. | |
byte[] | ToByteString () |
Returns the value as a ByteString. | |
XmlElement | ToXmlElement () |
Returns the value as an XmlElement. | |
NodeId | ToNodeId () |
Returns the value as a NodeId. | |
ExpandedNodeId | ToExpandedNodeId () |
Returns the value as an ExpandedNodeId. | |
QualifiedName | ToQualifiedName () |
Returns the value as a QualifiedName. | |
LocalizedText | ToLocalizedText () |
Returns the value as a LocalizedText. | |
StatusCode | ToStatusCode () |
Returns the value as a StatusCode. | |
ExtensionObject | ToExtensionObject () |
Returns the value as an ExtensionObject. | |
bool[] | ToBooleanArray () |
Returns the value as an array of Booleans. | |
sbyte[] | ToSByteArray () |
Returns the value as an array of SBytes. | |
byte[] | ToByteArray () |
Returns the value as an array of Bytes. | |
short[] | ToInt16Array () |
Returns the value as an array of Int16s. | |
ushort[] | ToUInt16Array () |
Returns the value as an array of UInt16s. | |
int[] | ToInt32Array () |
Returns the value as an array of Int32s. | |
uint[] | ToUInt32Array () |
Returns the value as an array of UInt32s. | |
long[] | ToInt64Array () |
Returns the value as an array of Int64s. | |
ulong[] | ToUInt64Array () |
Returns the value as an array of UInt64s. | |
float[] | ToFloatArray () |
Returns the value as an array of Floats. | |
double[] | ToDoubleArray () |
Returns the value as an array of Doubles. | |
string[] | ToStringArray () |
Returns the value as an array of Strings. | |
DateTime[] | ToDateTimeArray () |
Returns the value as an array of DateTimes. | |
Uuid[] | ToGuidArray () |
Returns the value as an array of Guids. | |
byte[][] | ToByteStringArray () |
Returns the value as an array of ByteStrings. | |
XmlElement[] | ToXmlElementArray () |
Returns the value as an array of XmlElements. | |
NodeId[] | ToNodeIdArray () |
Returns the value as an array of NodeIds. | |
ExpandedNodeId[] | ToExpandedNodeIdArray () |
Returns the value as an array of ExpandedNodeIds. | |
QualifiedName[] | ToQualifiedNameArray () |
Returns the value as an array of QualifiedNames. | |
LocalizedText[] | ToLocalizedTextArray () |
Returns the value as an array of LocalizedTexts. | |
StatusCode[] | ToStatusCodeArray () |
Returns the value as an array of StatusCodes. | |
ExtensionObject[] | ToExtensionObjectArray () |
Returns the value as an array of ExtentionObjects. | |
Static Public Member Functions | |
static implicit | operator Variant (bool source) |
Performs an implicit conversion from System.Boolean to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (bool[] source) |
Performs an implicit conversion from System.Boolean to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (sbyte source) |
Performs an implicit conversion from System.SByte to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (sbyte[] source) |
Performs an implicit conversion from System.SByte to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (byte source) |
Performs an implicit conversion from System.Byte to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (byte[] source) |
Performs an implicit conversion from System.Byte to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (short source) |
Performs an implicit conversion from System.Int16 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (short[] source) |
Performs an implicit conversion from System.Int16 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ushort source) |
Performs an implicit conversion from System.UInt16 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ushort[] source) |
Performs an implicit conversion from System.UInt16 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (int source) |
Performs an implicit conversion from System.Int32 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (int[] source) |
Performs an implicit conversion from System.Int32 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (uint source) |
Performs an implicit conversion from System.UInt32 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (uint[] source) |
Performs an implicit conversion from System.UInt32 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (long source) |
Performs an implicit conversion from System.Int64 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (long[] source) |
Performs an implicit conversion from System.Int64 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ulong source) |
Performs an implicit conversion from System.UInt64 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ulong[] source) |
Performs an implicit conversion from System.UInt64 to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (float source) |
Performs an implicit conversion from System.Single to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (float[] source) |
Performs an implicit conversion from System.Single to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (double source) |
Performs an implicit conversion from System.Double to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (double[] source) |
Performs an implicit conversion from System.Double to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (DateTime source) |
Performs an implicit conversion from System.DateTime to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (DateTime[] source) |
Performs an implicit conversion from System.DateTime to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (Guid source) |
Performs an implicit conversion from System.Guid to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (Guid[] source) |
Performs an implicit conversion from System.Guid to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (Uuid source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.Uuid to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (Uuid[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.Uuid to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (string source) |
Performs an implicit conversion from System.String to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (string[] source) |
Performs an implicit conversion from System.String to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (byte[][] source) |
Performs an implicit conversion from System.Byte to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (QualifiedName source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.QualifiedName to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (QualifiedName[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.QualifiedName to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (LocalizedText source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.LocalizedText to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (LocalizedText[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.LocalizedText to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (NodeId source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.NodeId to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (NodeId[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.NodeId to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ExpandedNodeId source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExpandedNodeId to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ExpandedNodeId[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExpandedNodeId to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (StatusCode source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.StatusCode to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (StatusCode[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.StatusCode to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (XmlElement source) |
Performs an implicit conversion from System.Xml.XmlElement to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (XmlElement[] source) |
Performs an implicit conversion from System.Xml.XmlElement to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (EncodeableObject source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.EncodeableObject to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (EncodeableObject[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.EncodeableObject to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ExtensionObject source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExtensionObject to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (ExtensionObject[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExtensionObject to UnifiedAutomation.UaBase.Variant. | |
static implicit | operator Variant (Variant[] source) |
Performs an implicit conversion from UnifiedAutomation.UaBase.Variant to UnifiedAutomation.UaBase.Variant. | |
Static Public Attributes | |
static readonly Variant | Null = new Variant(null, null) |
A constant representing a Null value. | |
Properties | |
TypeInfo | TypeInfo [get] |
Gets the type info. | |
object | Value [get] |
Gets the value. | |
BuiltInType | DataType [get] |
Gets the data type for the value. | |
int | ValueRank [get] |
Gets the value rank. | |
bool | IsNull [get] |
Gets a value indicating whether the value is null. | |
bool | IsArray [get] |
Gets a value indicating whether the value is an array with 1 or more dimensions. | |
bool | IsMatrix [get] |
Gets a value indicating whether the value is a matrix (an array with 2 or more dimensions). | |
int | ArrayLength [get] |
Gets the total number of elements in the array (-1 if not an array). | |
int[] | Dimensions [get] |
Gets the dimensions of the array (null if not an array). | |
A union of all support UA data types.
UnifiedAutomation.UaBase.Variant.Variant | ( | object | source, |
TypeInfo | info | ||
) |
Initializes a new instance of the Variant struct.
info | The type info. |
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | bool | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< bool > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | sbyte | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< sbyte > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | byte | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< byte > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | short | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< short > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | ushort | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< ushort > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | int | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< int > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | uint | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< uint > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | long | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< long > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | ulong | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< ulong > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | float | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< float > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | double | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< double > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | DateTime | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< DateTime > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | Guid | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< Guid > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | Uuid | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< Uuid > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | string | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< string > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< byte[]> | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | QualifiedName | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< QualifiedName > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | LocalizedText | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< LocalizedText > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | NodeId | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< NodeId > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | ExpandedNodeId | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< ExpandedNodeId > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | StatusCode | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< StatusCode > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | XmlElement | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< XmlElement > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEncodeable | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< IEncodeable > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | ExtensionObject | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< ExtensionObject > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
UnifiedAutomation.UaBase.Variant.Variant | ( | IEnumerable< Variant > | source | ) |
Initializes a new instance of the Variant struct.
source | The source. |
object UnifiedAutomation.UaBase.Variant.Clone | ( | ) |
Creates a deep copy of the object.
Variant UnifiedAutomation.UaBase.Variant.ConvertTo | ( | BuiltInType | targetType | ) |
Converts the specified target type.
targetType | Type of to convert the value to. |
string UnifiedAutomation.UaBase.Variant.Format | ( | IFormatProvider | formatProvider | ) |
Formats a node id as a string.
T UnifiedAutomation.UaBase.Variant.GetValue< T > | ( | T | defaultValue | ) |
Gets the value there is no error and it is the correct type.
T | The type of value to return. |
defaultValue | The default value. |
|
static |
Performs an implicit conversion from System.Boolean to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Boolean to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.SByte to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.SByte to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Byte to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Byte to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Int16 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Int16 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.UInt16 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.UInt16 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Int32 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Int32 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.UInt32 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.UInt32 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Int64 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Int64 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.UInt64 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.UInt64 to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Single to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Single to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Double to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Double to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.DateTime to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.DateTime to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Guid to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Guid to UnifiedAutomation.UaBase.Variant.
Performs an implicit conversion from UnifiedAutomation.UaBase.Uuid to UnifiedAutomation.UaBase.Variant.
Performs an implicit conversion from UnifiedAutomation.UaBase.Uuid to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.String to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.String to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Byte to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.QualifiedName to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.QualifiedName to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.LocalizedText to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.LocalizedText to UnifiedAutomation.UaBase.Variant.
Performs an implicit conversion from UnifiedAutomation.UaBase.NodeId to UnifiedAutomation.UaBase.Variant.
Performs an implicit conversion from UnifiedAutomation.UaBase.NodeId to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExpandedNodeId to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExpandedNodeId to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.StatusCode to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.StatusCode to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Xml.XmlElement to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from System.Xml.XmlElement to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.EncodeableObject to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.EncodeableObject to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExtensionObject to UnifiedAutomation.UaBase.Variant.
|
static |
Performs an implicit conversion from UnifiedAutomation.UaBase.ExtensionObject to UnifiedAutomation.UaBase.Variant.
Performs an implicit conversion from UnifiedAutomation.UaBase.Variant to UnifiedAutomation.UaBase.Variant.
bool UnifiedAutomation.UaBase.Variant.ToBoolean | ( | ) |
Returns the value as a Boolean.
bool [] UnifiedAutomation.UaBase.Variant.ToBooleanArray | ( | ) |
Returns the value as an array of Booleans.
byte UnifiedAutomation.UaBase.Variant.ToByte | ( | ) |
Returns the value as a Byte.
byte [] UnifiedAutomation.UaBase.Variant.ToByteArray | ( | ) |
Returns the value as an array of Bytes.
byte [] UnifiedAutomation.UaBase.Variant.ToByteString | ( | ) |
Returns the value as a ByteString.
byte [][] UnifiedAutomation.UaBase.Variant.ToByteStringArray | ( | ) |
Returns the value as an array of ByteStrings.
DateTime UnifiedAutomation.UaBase.Variant.ToDateTime | ( | ) |
Returns the value as a DateTime.
DateTime [] UnifiedAutomation.UaBase.Variant.ToDateTimeArray | ( | ) |
Returns the value as an array of DateTimes.
double UnifiedAutomation.UaBase.Variant.ToDouble | ( | ) |
Returns the value as a Double.
double [] UnifiedAutomation.UaBase.Variant.ToDoubleArray | ( | ) |
Returns the value as an array of Doubles.
ExpandedNodeId UnifiedAutomation.UaBase.Variant.ToExpandedNodeId | ( | ) |
Returns the value as an ExpandedNodeId.
ExpandedNodeId [] UnifiedAutomation.UaBase.Variant.ToExpandedNodeIdArray | ( | ) |
Returns the value as an array of ExpandedNodeIds.
ExtensionObject UnifiedAutomation.UaBase.Variant.ToExtensionObject | ( | ) |
Returns the value as an ExtensionObject.
ExtensionObject [] UnifiedAutomation.UaBase.Variant.ToExtensionObjectArray | ( | ) |
Returns the value as an array of ExtentionObjects.
float UnifiedAutomation.UaBase.Variant.ToFloat | ( | ) |
Returns the value as a Float.
float [] UnifiedAutomation.UaBase.Variant.ToFloatArray | ( | ) |
Returns the value as an array of Floats.
Uuid UnifiedAutomation.UaBase.Variant.ToGuid | ( | ) |
Returns the value as a Guid.
Uuid [] UnifiedAutomation.UaBase.Variant.ToGuidArray | ( | ) |
Returns the value as an array of Guids.
short UnifiedAutomation.UaBase.Variant.ToInt16 | ( | ) |
Returns the value as an Int16.
short [] UnifiedAutomation.UaBase.Variant.ToInt16Array | ( | ) |
Returns the value as an array of Int16s.
int UnifiedAutomation.UaBase.Variant.ToInt32 | ( | ) |
Returns the value as an Int32.
int [] UnifiedAutomation.UaBase.Variant.ToInt32Array | ( | ) |
Returns the value as an array of Int32s.
long UnifiedAutomation.UaBase.Variant.ToInt64 | ( | ) |
Returns the value as an Int64.
long [] UnifiedAutomation.UaBase.Variant.ToInt64Array | ( | ) |
Returns the value as an array of Int64s.
LocalizedText UnifiedAutomation.UaBase.Variant.ToLocalizedText | ( | ) |
Returns the value as a LocalizedText.
LocalizedText [] UnifiedAutomation.UaBase.Variant.ToLocalizedTextArray | ( | ) |
Returns the value as an array of LocalizedTexts.
NodeId UnifiedAutomation.UaBase.Variant.ToNodeId | ( | ) |
NodeId [] UnifiedAutomation.UaBase.Variant.ToNodeIdArray | ( | ) |
Returns the value as an array of NodeIds.
QualifiedName UnifiedAutomation.UaBase.Variant.ToQualifiedName | ( | ) |
Returns the value as a QualifiedName.
QualifiedName [] UnifiedAutomation.UaBase.Variant.ToQualifiedNameArray | ( | ) |
Returns the value as an array of QualifiedNames.
sbyte UnifiedAutomation.UaBase.Variant.ToSByte | ( | ) |
Returns the value as a SByte.
sbyte [] UnifiedAutomation.UaBase.Variant.ToSByteArray | ( | ) |
Returns the value as an array of SBytes.
StatusCode UnifiedAutomation.UaBase.Variant.ToStatusCode | ( | ) |
Returns the value as a StatusCode.
StatusCode [] UnifiedAutomation.UaBase.Variant.ToStatusCodeArray | ( | ) |
Returns the value as an array of StatusCodes.
string UnifiedAutomation.UaBase.Variant.ToString | ( | string | format, |
IFormatProvider | formatProvider | ||
) |
Formats the object as a string.
override string UnifiedAutomation.UaBase.Variant.ToString | ( | ) |
Returns the value as a String.
string [] UnifiedAutomation.UaBase.Variant.ToStringArray | ( | ) |
Returns the value as an array of Strings.
ushort UnifiedAutomation.UaBase.Variant.ToUInt16 | ( | ) |
Returns the value as a UInt16.
ushort [] UnifiedAutomation.UaBase.Variant.ToUInt16Array | ( | ) |
Returns the value as an array of UInt16s.
uint UnifiedAutomation.UaBase.Variant.ToUInt32 | ( | ) |
Returns the value as a UInt32.
uint [] UnifiedAutomation.UaBase.Variant.ToUInt32Array | ( | ) |
Returns the value as an array of UInt32s.
ulong UnifiedAutomation.UaBase.Variant.ToUInt64 | ( | ) |
Returns the value as a UInt64.
ulong [] UnifiedAutomation.UaBase.Variant.ToUInt64Array | ( | ) |
Returns the value as an array of UInt64s.
XmlElement UnifiedAutomation.UaBase.Variant.ToXmlElement | ( | ) |
Returns the value as an XmlElement.
XmlElement [] UnifiedAutomation.UaBase.Variant.ToXmlElementArray | ( | ) |
Returns the value as an array of XmlElements.
A constant representing a Null value.
|
get |
Gets the total number of elements in the array (-1 if not an array).
|
get |
Gets the data type for the value.
The data type for the value.
|
get |
Gets the dimensions of the array (null if not an array).
|
get |
Gets a value indicating whether the value is an array with 1 or more dimensions.
true
if the value is an array; otherwise, false
.
|
get |
Gets a value indicating whether the value is a matrix (an array with 2 or more dimensions).
true
if the value is a matrix; otherwise, false
.
|
get |
Gets a value indicating whether the value is null.
true
if the value is null; otherwise, false
.
|
get |
Gets the type info.
|
get |
Gets the value.
|
get |
Gets the value rank.