OPC Studio User's Guide and Reference
FromDAPropertyIds Method (DAPropertyDescriptor)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAPropertyDescriptor Class : FromDAPropertyIds Method
Contains an enumerated OPC property identifier.
Converts an enumerated property Id to a DAPropertyDescriptor object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromDAPropertyIds( _
   ByVal propertyIds As DAPropertyIds _
) As DAPropertyDescriptor
'Usage
 
Dim propertyIds As DAPropertyIds
Dim value As DAPropertyDescriptor
 
value = DAPropertyDescriptor.FromDAPropertyIds(propertyIds)
[NotNull()]
public static DAPropertyDescriptor FromDAPropertyIds( 
   DAPropertyIds propertyIds
)
[NotNull()]
public:
static DAPropertyDescriptor^ FromDAPropertyIds( 
   DAPropertyIds propertyIds
) 

Parameters

propertyIds
Contains an enumerated OPC property identifier.

Return Value

Returns a DAPropertyDescriptor converted from the input argument.

This method never returns null (Nothing in Visual Basic).

Remarks

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this method explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

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