When implemented by a class, adds a new property to the current connection properties collection.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Sub Add ( _
key As String, _
type As Type, _
value As Object _
)
'使用
Dim instance As IVsDataConnectionProperties
Dim key As String
Dim type As Type
Dim value As Object
instance.Add(key, type, value)
void Add(
string key,
Type type,
Object value
)
void Add(
String^ key,
Type^ type,
Object^ value
)
function Add(
key : String,
type : Type,
value : Object
)
Parameters
key
Type: System.StringName of the property being added.
type
Type: System.TypeA Type object representing the type of the property.
value
Type: System.ObjectValue of the property being added.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataConnectionProperties Interface
IVsDataConnectionProperties Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace