BuildItem Constructors
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.
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. |
- 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
Advertencia
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
.NET Framework 4.8.1 otras versiones
Producto | Versiones |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
- 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
Advertencia
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
.NET Framework 4.8.1 otras versiones
Producto | Versiones |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |