Share via


ProjectInstance.FilteredCopy(RequestedProjectState) Method

Definition

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.

Applies to