ProjectRootElement.CreateItemDefinitionElement(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.