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: System.String
Nome della proprietà che è stata aggiunta.
- type
Tipo: System.Type
Un oggetto Type che rappresenta il tipo della proprietà.
- value
Tipo: System.Object
Valore della proprietà che è stata aggiunta.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
IVsDataConnectionProperties Interfaccia
Spazio dei nomi Microsoft.VisualStudio.Data.Services.SupportEntities