Share via


ProjectRootElement.CreateItemDefinitionElement(String) Method

Definition

Creates an item definition. Caller must add it to the location of choice in the project.

public:
 Microsoft::Build::Construction::ProjectItemDefinitionElement ^ CreateItemDefinitionElement(System::String ^ itemType);
public Microsoft.Build.Construction.ProjectItemDefinitionElement CreateItemDefinitionElement (string itemType);
member this.CreateItemDefinitionElement : string -> Microsoft.Build.Construction.ProjectItemDefinitionElement
Public Function CreateItemDefinitionElement (itemType As String) As ProjectItemDefinitionElement

Parameters

itemType
String

The item type of the item definition.

Returns

The item definition.

Remarks

Caller must add the item definition to the location of choice in the project.

Applies to