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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.AddressSpace Namespace > AESubconditionElementCollection 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 AESubconditionElement _
) As String
'Usage
 
Dim instance As AESubconditionElementCollection
Dim item As AESubconditionElement
Dim value As String
 
value = instance.GetKeyForItem(item)
[NotNull()]
protected override string GetKeyForItem( 
   AESubconditionElement item
)
[NotNull()]
protected:
String^ GetKeyForItem( 
   AESubconditionElement^ 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 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

AESubconditionElementCollection Class
AESubconditionElementCollection Members
Base Implementation in GetKeyForItem