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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Configuration Namespace > ConfigurationPartCollection Class : GetKeyForItem Method
The element from which to extract the key.
When implemented in a derived class, extracts the key from the specified element.When implemented in a derived class, extracts the key from the specified element.
Syntax
'Declaration
 
Protected Overrides Function GetKeyForItem( _
   ByVal item As Object _
) As String
'Usage
 
Dim instance As ConfigurationPartCollection
Dim item As Object
Dim value As String
 
value = instance.GetKeyForItem(item)
protected override string GetKeyForItem( 
   object item
)
protected:
String^ GetKeyForItem( 
   Object^ item
) override 

Parameters

item
The element from which to extract the key.

Return Value

The key for the specified element.The key for the specified element.
Requirements

Target Platforms: .NET Framework: Windows 7 with SP1, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

ConfigurationPartCollection Class
ConfigurationPartCollection Members
Base Implementation in GetKeyForItem