OPC Studio User's Guide and Reference
DictionaryEntry2 Constructor



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > DictionaryEntry2 Class : DictionaryEntry2 Constructor
The object defined in each key/value pair.

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

The definition associated with key.

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

Initializes an instance of the DictionaryEntry type with the specified key and value.
Syntax
'Declaration
 
Public Function New( _
   ByVal key As Object, _
   ByVal value As Object _
)
'Usage
 
Dim key As Object
Dim value As Object
 
Dim instance As New DictionaryEntry2(key, value)
public DictionaryEntry2( 
   object key,
   object value
)
public:
DictionaryEntry2( 
   Object^ key,
   Object^ value
)

Parameters

key
The object defined in each key/value pair.

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

value
The definition associated with key.

The value of this parameter can 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