IVsPersistConnectedServices.Add(String, UInt32, String[], String[]) 方法

定义

添加连接的服务。

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

参数

szServiceIdentity
String

服务的 ID。

dwCountMetadata
UInt32

属性的数目。

szProperties
String[]

属性。

szValues
String[]

值。

返回

IVsConnectedServiceProperties

连接的服务属性。

适用于