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