IVsPersistConnectedServices.Add Method
Adds a connected service.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function Add ( _
szServiceIdentity As String, _
dwCountMetadata As UInteger, _
szProperties As String(), _
szValues As String() _
) As IVsConnectedServiceProperties
IVsConnectedServiceProperties Add(
string szServiceIdentity,
uint dwCountMetadata,
string[] szProperties,
string[] szValues
)
IVsConnectedServiceProperties^ Add(
[InAttribute] String^ szServiceIdentity,
[InAttribute] unsigned int dwCountMetadata,
[InAttribute] array<String^>^ szProperties,
[InAttribute] array<String^>^ szValues
)
abstract Add :
szServiceIdentity:string *
dwCountMetadata:uint32 *
szProperties:string[] *
szValues:string[] -> IVsConnectedServiceProperties
function Add(
szServiceIdentity : String,
dwCountMetadata : uint,
szProperties : String[],
szValues : String[]
) : IVsConnectedServiceProperties
Parameters
szServiceIdentity
Type: StringThe ID of the service.
dwCountMetadata
Type: UInt32The number of properties.
szProperties
Type: array<String[]The properties.
szValues
Type: array<String[]The values.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties
The connected service properties.
.NET Framework Security
- 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.