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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel.ComTypes Namespace > _ValueResult Interface : ValueType Property
Returns the type of the Value, or null if there is no value.
Syntax
'Declaration
 
<CanBeNullAttribute()>
ReadOnly Property ValueType As Type
'Usage
 
Dim instance As _ValueResult
Dim value As Type
 
value = instance.ValueType
[CanBeNull()]
Type ValueType {get;}
[CanBeNull()]
property Type^ ValueType {
   Type^ get();
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Remarks

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

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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