QuickOPC User's Guide and Reference
GetKeyForItem Method (DAPropertyElementCollection)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.AddressSpace Namespace > DAPropertyElementCollection Class : GetKeyForItem Method
The element from which to extract the key.
When implemented in a derived class, extracts the key from the specified element.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Overrides NotOverridable Function GetKeyForItem( _
   ByVal item As DAPropertyElement _
) As DAPropertyDescriptor
'Usage
 
Dim instance As DAPropertyElementCollection
Dim item As DAPropertyElement
Dim value As DAPropertyDescriptor
 
value = instance.GetKeyForItem(item)
[NotNull()]
protected override DAPropertyDescriptor GetKeyForItem( 
   DAPropertyElement item
)
[NotNull()]
protected:
DAPropertyDescriptor^ GetKeyForItem( 
   DAPropertyElement^ item
) override 

Parameters

item
The element from which to extract the key.

Return Value

The key for the specified element.
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

Reference

DAPropertyElementCollection Class
DAPropertyElementCollection Members
Base Implementation in GetKeyForItem