Share via


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.String

    The 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.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”.

Return Value

Type: VSLangProj.Reference
Returns a Reference for the specified SDK.

.NET Framework Security

See Also

Reference

References2 Interface

VSLangProj110 Namespace