Udostępnij za pośrednictwem


IVsPersistConnectedServices.Add(String, UInt32, String[], String[]) Method

Definition

Adds a connected service.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties ^ Add(System::String ^ szServiceIdentity, System::UInt32 dwCountMetadata, cli::array <System::String ^> ^ szProperties, cli::array <System::String ^> ^ szValues);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties ^ Add(Platform::String ^ szServiceIdentity, unsigned int dwCountMetadata, Platform::Array <Platform::String ^> ^ szProperties, Platform::Array <Platform::String ^> ^ szValues);
Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties Add(std::wstring const & szServiceIdentity, unsigned int dwCountMetadata, std::Array <std::wstring const &> const & szProperties, std::Array <std::wstring const &> const & szValues);
public Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties Add (string szServiceIdentity, uint dwCountMetadata, string[] szProperties, string[] szValues);
abstract member Add : string * uint32 * string[] * string[] -> Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties
Public Function Add (szServiceIdentity As String, dwCountMetadata As UInteger, szProperties As String(), szValues As String()) As IVsConnectedServiceProperties

Parameters

szServiceIdentity
String

The ID of the service.

dwCountMetadata
UInt32

The number of properties.

szProperties
String[]

The properties.

szValues
String[]

The values.

Returns

The connected service properties.

Applies to