ProjectRootElement.ItemDefinitions 屬性

定義

在專案檔任何位置的所有子項目定義群組中,取得子項目定義的唯讀集合 (如果有的話)。Get a read-only collection of the child item definitions, if any, in all item definition groups anywhere in the project file.

public:
 property System::Collections::Generic::ICollection<Microsoft::Build::Construction::ProjectItemDefinitionElement ^> ^ ItemDefinitions { System::Collections::Generic::ICollection<Microsoft::Build::Construction::ProjectItemDefinitionElement ^> ^ get(); };
public System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectItemDefinitionElement> ItemDefinitions { get; }
member this.ItemDefinitions : System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectItemDefinitionElement>
Public ReadOnly Property ItemDefinitions As ICollection(Of ProjectItemDefinitionElement)

屬性值

ICollection<ProjectItemDefinitionElement>

取得這個專案中所有項目定義群組內的所有子項目定義。Gets all child item definitions in all item definition groups anywhere in this project.

適用於