QuickOPC User's Guide and Reference
GetPropertyType() Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAPropertyId Class > GetPropertyType Method : GetPropertyType() Method
Determines a type of this OPC property.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Function GetPropertyType() As Type
'Usage
 
Dim instance As DAPropertyId
Dim value As Type
 
value = instance.GetPropertyType()
[NotNull()]
public Type GetPropertyType()
[NotNull()]
public:
Type^ GetPropertyType(); 

Return Value

A type of the OPC property. If the property type cannot be determined, the property is assumed to be of System.Object type.
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