OPC Studio User's Guide and Reference
Add Method (StringStringDictionary)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.Specialized Namespace > StringStringDictionary Class : Add Method

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

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

Syntax
'Declaration
 
Public Shadows Sub Add( _
   ByVal key As String, _
   ByVal value As String _
) 
'Usage
 
Dim instance As StringStringDictionary
Dim key As String
Dim value As String
 
instance.Add(key, value)
public new void Add( 
   string key,
   string value
)
public:
new void Add( 
   String^ key,
   String^ value
) 

Parameters

key

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

value

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