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



View with Navigation Tools
OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerElementCollection Class : GetKeyForItem Method

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

Syntax
'Declaration
 
<NotNullAttribute()>
Protected Overrides NotOverridable Function GetKeyForItem( _
   ByVal item As ServerElement _
) As String
 
'Usage
 
Dim instance As ServerElementCollection
Dim item As ServerElement
Dim value As String
 
value = instance.GetKeyForItem(item)

Parameters

item

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

Return Value

This method never returns 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

ServerElementCollection Class
ServerElementCollection Members
Base Implementation in GetKeyForItem