ProjectInstance.FilteredCopy(RequestedProjectState) 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.
Create an independent clone of this object, keeping ONLY the explicitly requested project state.
public:
Microsoft::Build::Execution::ProjectInstance ^ FilteredCopy(Microsoft::Build::Execution::RequestedProjectState ^ filter);
public Microsoft.Build.Execution.ProjectInstance FilteredCopy (Microsoft.Build.Execution.RequestedProjectState filter);
member this.FilteredCopy : Microsoft.Build.Execution.RequestedProjectState -> Microsoft.Build.Execution.ProjectInstance
Public Function FilteredCopy (filter As RequestedProjectState) As ProjectInstance
Parameters
- filter
- RequestedProjectState
Project state that should be returned.
Returns
Remarks
Useful for reducing the wire cost of IPC for out-of-proc nodes used during design-time builds that only need to populate a known set of data.