Condividi tramite


Metodo IVsDataConnectionProperties.Add (String, Type, Object)

Se implementata da una classe, aggiungere una nuova proprietà alle proprietà di connessione corrente della raccolta.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Sintassi

'Dichiarazione
Sub Add ( _
    key As String, _
    type As Type, _
    value As Object _
)
void Add(
    string key,
    Type type,
    Object value
)
void Add(
    String^ key, 
    Type^ type, 
    Object^ value
)
abstract Add : 
        key:string * 
        type:Type * 
        value:Object -> unit
function Add(
    key : String, 
    type : Type, 
    value : Object
)

Parametri

  • key
    Tipo: String

    Nome della proprietà che è stata aggiunta.

  • type
    Tipo: Type

    Un oggetto Type che rappresenta il tipo della proprietà.

  • value
    Tipo: Object

    Valore della proprietà che è stata aggiunta.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsDataConnectionProperties Interfaccia

Overload Add

Spazio dei nomi Microsoft.VisualStudio.Data.Services.SupportEntities