BuildItemGroup.ToArray 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.
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution
Copies the items in this group into a new array. NOTE: the copies are NOT clones i.e. only the references are copied
public:
cli::array <Microsoft::Build::BuildEngine::BuildItem ^> ^ ToArray();
public Microsoft.Build.BuildEngine.BuildItem[] ToArray ();
member this.ToArray : unit -> Microsoft.Build.BuildEngine.BuildItem[]
Public Function ToArray () As BuildItem()
Returns
A new array containing the BuildItem objects copied from the BuildItemGroup.
Remarks
Warning
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution