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: String

    The ID of the service.

  • dwCountMetadata
    Type: UInt32

    The 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

See Also

Reference

IVsPersistConnectedServices Interface

Microsoft.VisualStudio.Shell.Interop Namespace