References2.AddSDK Method
Adds a reference to the specified SDK to the project.
Namespace: VSLangProj110
Assembly: VSLangProj110 (in VSLangProj110.dll)
Syntax
'Declaration
Function AddSDK ( _
wszSDKDisplayName As String, _
wszSDKidentifier As String _
) As Reference
Reference AddSDK(
string wszSDKDisplayName,
string wszSDKidentifier
)
Reference^ AddSDK(
[InAttribute] String^ wszSDKDisplayName,
[InAttribute] String^ wszSDKidentifier
)
abstract AddSDK :
wszSDKDisplayName:string *
wszSDKidentifier:string -> Reference
function AddSDK(
wszSDKDisplayName : String,
wszSDKidentifier : String
) : Reference
Parameters
wszSDKDisplayName
Type: System.StringThe optional display name for the SDK. If this is nulla null reference (Nothing in Visual Basic) or empty, the name extracted from wszSDKidentifier is used as the display name.
wszSDKidentifier
Type: System.StringRequired. The identifier of the SDK. This string must take the form “<SDK name>, version=<version number>”, for example “MyExtensionSDK, version=1.0.0.0”.
Return Value
Type: VSLangProj.Reference
Returns a Reference for the specified SDK.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.