BuildEventArgsExtensions.EnumerateItemsOfTypes 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.
Overloads
EnumerateItemsOfTypes(ProjectEvaluationFinishedEventArgs, String[]) |
Lazy enumerates and partially strong types items from Items property. Only items with any matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface |
EnumerateItemsOfTypes(ProjectStartedEventArgs, String[]) |
Lazy enumerates and partially strong types items from Items property. Only items with any matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface |
EnumerateItemsOfTypes(ProjectEvaluationFinishedEventArgs, String[])
- Source:
- BuildEventArgsExtensions.cs
Lazy enumerates and partially strong types items from Items property. Only items with any matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<Microsoft::Build::Framework::ItemData> ^ EnumerateItemsOfTypes(Microsoft::Build::Framework::ProjectEvaluationFinishedEventArgs ^ eventArgs, cli::array <System::String ^> ^ typeNames);
public static System.Collections.Generic.IEnumerable<Microsoft.Build.Framework.ItemData> EnumerateItemsOfTypes(this Microsoft.Build.Framework.ProjectEvaluationFinishedEventArgs eventArgs, string[] typeNames);
static member EnumerateItemsOfTypes : Microsoft.Build.Framework.ProjectEvaluationFinishedEventArgs * string[] -> seq<Microsoft.Build.Framework.ItemData>
<Extension()>
Public Function EnumerateItemsOfTypes (eventArgs As ProjectEvaluationFinishedEventArgs, typeNames As String()) As IEnumerable(Of ItemData)
Parameters
- eventArgs
- ProjectEvaluationFinishedEventArgs
- typeNames
- String[]
Returns
Applies to
EnumerateItemsOfTypes(ProjectStartedEventArgs, String[])
- Source:
- BuildEventArgsExtensions.cs
Lazy enumerates and partially strong types items from Items property. Only items with any matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<Microsoft::Build::Framework::ItemData> ^ EnumerateItemsOfTypes(Microsoft::Build::Framework::ProjectStartedEventArgs ^ eventArgs, cli::array <System::String ^> ^ typeNames);
public static System.Collections.Generic.IEnumerable<Microsoft.Build.Framework.ItemData> EnumerateItemsOfTypes(this Microsoft.Build.Framework.ProjectStartedEventArgs eventArgs, string[] typeNames);
static member EnumerateItemsOfTypes : Microsoft.Build.Framework.ProjectStartedEventArgs * string[] -> seq<Microsoft.Build.Framework.ItemData>
<Extension()>
Public Function EnumerateItemsOfTypes (eventArgs As ProjectStartedEventArgs, typeNames As String()) As IEnumerable(Of ItemData)
Parameters
- eventArgs
- ProjectStartedEventArgs
- typeNames
- String[]