Partilhar via


ProjectRootElement.CreateProjectSdkElement(String, String) Method

Definition

Creates a project SDK element attached to this project.

public:
 Microsoft::Build::Construction::ProjectSdkElement ^ CreateProjectSdkElement(System::String ^ sdkName, System::String ^ sdkVersion);
public Microsoft.Build.Construction.ProjectSdkElement CreateProjectSdkElement (string sdkName, string sdkVersion);
member this.CreateProjectSdkElement : string * string -> Microsoft.Build.Construction.ProjectSdkElement
Public Function CreateProjectSdkElement (sdkName As String, sdkVersion As String) As ProjectSdkElement

Parameters

sdkName
String
sdkVersion
String

Returns

Applies to