
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Variant |
C# | |
---|---|
[DataContractAttribute(Namespace="http://opcfoundation.org/UA/2008/02/Types.xsd", IsNamespaceSetExplicitly=true)] public struct Variant : System.ValueType |
The Variant is described in Part 6 - Mappings, Section 6.2.2.15, titled Variant
Variant is a data type in COM, but not within the .NET Framework. Therefore OPC UA has its own Variant type that supports all of the OPC UA data-types.
System.Object
System.ValueType
Opc.Ua.Variant
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x