Share via


UpdateExtensions.Exclude Method

Definition

Overloads

Exclude(IAsyncUpdatable<IFileSnapshot>)

Excludes a set of files from a project.

Exclude(IAsyncUpdatable<IProjectSnapshot>)

Excludes a set of projects from the current solution.

Exclude(IProjectSnapshot)

Excludes a single project for the solution.

Exclude(IAsyncUpdatable<IFileSnapshot>)

Excludes a set of files from a project.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> Exclude (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> files);
static member Exclude : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>
<Extension()>
Public Function Exclude (files As IAsyncUpdatable(Of IFileSnapshot)) As IAsyncUpdatable(Of IFileSnapshot)

Parameters

files
IAsyncUpdatable<IFileSnapshot>

A set of source files to be excluded from the project.

Returns

A set of files removed from the project.

Applies to

Exclude(IAsyncUpdatable<IProjectSnapshot>)

Excludes a set of projects from the current solution.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> Exclude (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> projects);
static member Exclude : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function Exclude (projects As IAsyncUpdatable(Of IProjectSnapshot)) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

projects
IAsyncUpdatable<IProjectSnapshot>

A set of projects to be excluded from the solution.

Returns

An remote executable, which will return the set of projects have been removed.

Applies to

Exclude(IProjectSnapshot)

Excludes a single project for the solution.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> Exclude (Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot project);
static member Exclude : Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
Public Function Exclude (project As IProjectSnapshot) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

project
IProjectSnapshot

A project to be excluded from the solution.

Returns

A remote executable which will remove the project from the solution when it is executed.

Applies to