OPC Studio User's Guide and Reference
ValueType Property (UADataValue)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UADataValue Class : ValueType Property
Returns the type of the Value, or null if there is no value.
Syntax
'Declaration
 
<ColumnDisplayAttribute(Categorized=True, RefinementRank=2)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=11, 
   ShortName="Value Type")>
Public ReadOnly Property ValueType As Type
'Usage
 
Dim instance As UADataValue
Dim value As Type
 
value = instance.ValueType
[ColumnDisplay(Categorized=true, RefinementRank=2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=11, 
   ShortName="Value Type")]
public Type ValueType {get;}
[ColumnDisplay(Categorized=true, RefinementRank=2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=11, 
   ShortName="Value Type")]
public:
property Type^ ValueType {
   Type^ get();
}
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also