IVsPersistConnectedServices.Add(String, UInt32, String[], String[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加连接的服务。
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[]
值。
返回
连接的服务属性。