QuickOPC User's Guide and Reference
SetKey Method (DictionaryEntry2)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > DictionaryEntry2 Class : SetKey Method
The key to be set.
Sets the key in the key/value pair.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetKey( _
   ByVal key As Object _
) 
'Usage
 
Dim instance As DictionaryEntry2
Dim key As Object
 
instance.SetKey(key)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetKey( 
   object key
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
void SetKey( 
   Object^ key
) 

Parameters

key
The key to be set.
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