EasyUA Reference
Variant Structure
Members  See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace : Variant Structure

Glossary Item Box

A structure that could contain value with any of the UA built-in data types.

Object Model

Variant StructureTypeInfo Class

Syntax

Visual Basic (Usage)Copy Code
Dim instance As Variant
C# 
[DataContractAttribute(Namespace="http://opcfoundation.org/UA/2008/02/Types.xsd", IsNamespaceSetExplicitly=true)]
public struct Variant : System.ValueType 

Remarks

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      Opc.Ua.Variant

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.