BuildItem Constructors
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.
Initializes a new instance of the BuildItem class.
Overloads
BuildItem(String, ITaskItem) |
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution This constructor creates a new virtual (non-persisted) item based on a ITaskItem object that was emitted by a task. |
BuildItem(String, String) |
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution This constructor creates a new virtual (non-persisted) item with the specified type and include. |
BuildItem(String, ITaskItem)
- Source:
- BuildItem.cs
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution
This constructor creates a new virtual (non-persisted) item based on a ITaskItem object that was emitted by a task.
public:
BuildItem(System::String ^ itemName, Microsoft::Build::Framework::ITaskItem ^ taskItem);
public BuildItem (string itemName, Microsoft.Build.Framework.ITaskItem taskItem);
new Microsoft.Build.BuildEngine.BuildItem : string * Microsoft.Build.Framework.ITaskItem -> Microsoft.Build.BuildEngine.BuildItem
Public Sub New (itemName As String, taskItem As ITaskItem)
Parameters
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
Applies to
BuildItem(String, String)
- Source:
- BuildItem.cs
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution
This constructor creates a new virtual (non-persisted) item with the specified type and include.
public:
BuildItem(System::String ^ itemName, System::String ^ itemInclude);
public BuildItem (string itemName, string itemInclude);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildItem (string itemName, string itemInclude);
new Microsoft.Build.BuildEngine.BuildItem : string * string -> Microsoft.Build.BuildEngine.BuildItem
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.BuildEngine.BuildItem : string * string -> Microsoft.Build.BuildEngine.BuildItem
Public Sub New (itemName As String, itemInclude As String)
Parameters
- Attributes
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