Compartir a través de


AdoDotNetConnectionProperties.IDictionary.Add Method

Adds an element as a key/value pair to the specified IDictionaryinstance.

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Private Sub Add ( _
    key As Object, _
    value As Object _
) Implements IDictionary.Add
void IDictionary.Add(
    Object key,
    Object value
)
private:
virtual void Add(
    Object^ key, 
    Object^ value
) sealed = IDictionary::Add
private abstract Add : 
        key:Object * 
        value:Object -> unit  
private override Add : 
        key:Object * 
        value:Object -> unit
JScript does not support explicit interface implementations.

Parameters

  • key
    Type: System.Object

    The object to use as the key of the element to add to the dictionary.

  • value
    Type: System.Object

    The object to use as the value of the element to add to the dictionary.

Implements

IDictionary.Add(Object, Object)

Remarks

This method provides an implementation of the Add method. For more information see the Add method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace