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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > ValueResult Class : ValueType Property
Returns the type of the Value, or null if there is no value.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=13, 
   ShortName="Value Type")>
Public ReadOnly Property ValueType As Type
'Usage
 
Dim instance As ValueResult
Dim value As Type
 
value = instance.ValueType
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=13, 
   ShortName="Value Type")]
public Type ValueType {get;}
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=13, 
   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