OPC Studio User's Guide and Reference
GetKeyForItem Method (AECategoryElementCollection)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.AddressSpace Namespace > AECategoryElementCollection Class : GetKeyForItem Method

The value of this parameter cannot be null (Nothing in Visual Basic).

Syntax
'Declaration
 
Protected Overrides NotOverridable Function GetKeyForItem( _
   ByVal item As AECategoryElement _
) As Long
'Usage
 
Dim instance As AECategoryElementCollection
Dim item As AECategoryElement
Dim value As Long
 
value = instance.GetKeyForItem(item)
protected override long GetKeyForItem( 
   AECategoryElement item
)
protected:
int64 GetKeyForItem( 
   AECategoryElement^ item
) override 

Parameters

item

The value of this parameter cannot be null (Nothing in Visual Basic).

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

AECategoryElementCollection Class
AECategoryElementCollection Members
Base Implementation in GetKeyForItem