Udostępnij za pośrednictwem


References2.AddSDK(String, String) Method

Definition

Adds a reference to the specified SDK to the project.

public:
 VSLangProj::Reference ^ AddSDK(System::String ^ wszSDKDisplayName, System::String ^ wszSDKidentifier);
public:
 VSLangProj::Reference ^ AddSDK(Platform::String ^ wszSDKDisplayName, Platform::String ^ wszSDKidentifier);
VSLangProj::Reference AddSDK(std::wstring const & wszSDKDisplayName, std::wstring const & wszSDKidentifier);
[System.Runtime.InteropServices.DispId(9)]
public VSLangProj.Reference AddSDK (string wszSDKDisplayName, string wszSDKidentifier);
[<System.Runtime.InteropServices.DispId(9)>]
abstract member AddSDK : string * string -> VSLangProj.Reference
Public Function AddSDK (wszSDKDisplayName As String, wszSDKidentifier As String) As Reference

Parameters

wszSDKDisplayName
String

The optional display name for the SDK. If this is null or empty, the name extracted from wszSDKidentifier is used as the display name.

wszSDKidentifier
String

Required. The identifier of the SDK. This string must take the form “<SDK name>, version=<version number>”, for example “MyExtensionSDK, version=1.0.0.0”.

Returns

Returns a Reference for the specified SDK.

Attributes

Applies to