Share via


UpdateExtensions.Delete Method

Definition

Overloads

Delete(IAsyncUpdatable<IProjectReferenceSnapshot>)

Deletes a set of project references from a project.

Delete(IAsyncUpdatable<IPropertySnapshot>)

Deletes a set of properties.

Delete(IAsyncUpdatable<IPackageReferenceSnapshot>)

Deletes a set of package references from a project.

Delete(IAsyncUpdatable<ISolutionFolderSnapshot>)

Deletes a set of solution folders.

Delete(IAsyncUpdatable<IFileSnapshot>)

Deletes a set of files from a project and the disk.

Delete(IAsyncUpdatable<IAssemblyReferenceSnapshot>)

Deletes a set of assembly references from a project.

Delete(IAsyncUpdatable<IFolderSnapshot>)

Deletes a set of folders in the project.

Delete(IAsyncUpdatable<IBuildPropertySnapshot>)
Obsolete.

Deletes a set of build property.

Delete(IAsyncUpdatable<IProjectReferenceSnapshot>)

Deletes a set of project references from a project.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot> Delete (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot> projectReferences);
static member Delete : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot>
<Extension()>
Public Function Delete (projectReferences As IAsyncUpdatable(Of IProjectReferenceSnapshot)) As IAsyncUpdatable(Of IProjectReferenceSnapshot)

Parameters

projectReferences
IAsyncUpdatable<IProjectReferenceSnapshot>

A set of project references to be deleted.

Returns

A set of project reference deleted.

Applies to

Delete(IAsyncUpdatable<IPropertySnapshot>)

Deletes a set of properties.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot> Delete (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot> properties);
static member Delete : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot>
<Extension()>
Public Function Delete (properties As IAsyncUpdatable(Of IPropertySnapshot)) As IAsyncUpdatable(Of IPropertySnapshot)

Parameters

properties
IAsyncUpdatable<IPropertySnapshot>

A set of properties to be deleted.

Returns

A set of properties updated.

Applies to

Delete(IAsyncUpdatable<IPackageReferenceSnapshot>)

Deletes a set of package references from a project.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot> Delete (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot> packageReferences);
static member Delete : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot>
<Extension()>
Public Function Delete (packageReferences As IAsyncUpdatable(Of IPackageReferenceSnapshot)) As IAsyncUpdatable(Of IPackageReferenceSnapshot)

Parameters

packageReferences
IAsyncUpdatable<IPackageReferenceSnapshot>

A set of package references to be deleted.

Returns

A set of package reference deleted.

Applies to

Delete(IAsyncUpdatable<ISolutionFolderSnapshot>)

Deletes a set of solution folders.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot> Delete (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot> solutionFolders);
static member Delete : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionFolderSnapshot>
<Extension()>
Public Function Delete (solutionFolders As IAsyncUpdatable(Of ISolutionFolderSnapshot)) As IAsyncUpdatable(Of ISolutionFolderSnapshot)

Parameters

solutionFolders
IAsyncUpdatable<ISolutionFolderSnapshot>

A set of solution folders to be deleted.

Returns

A set of deleted solution folders.

Applies to

Delete(IAsyncUpdatable<IFileSnapshot>)

Deletes a set of files from a project and the disk.

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

Parameters

files
IAsyncUpdatable<IFileSnapshot>

A set of source files to be deleted.

Returns

A set of files deleted.

Applies to

Delete(IAsyncUpdatable<IAssemblyReferenceSnapshot>)

Deletes a set of assembly references from a project.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IAssemblyReferenceSnapshot> Delete (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IAssemblyReferenceSnapshot> assemblyReferences);
static member Delete : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IAssemblyReferenceSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IAssemblyReferenceSnapshot>
<Extension()>
Public Function Delete (assemblyReferences As IAsyncUpdatable(Of IAssemblyReferenceSnapshot)) As IAsyncUpdatable(Of IAssemblyReferenceSnapshot)

Parameters

assemblyReferences
IAsyncUpdatable<IAssemblyReferenceSnapshot>

A set of assembly references to be deleted.

Returns

A set of assembly deleted.

Applies to

Delete(IAsyncUpdatable<IFolderSnapshot>)

Deletes a set of folders in the project.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFolderSnapshot> Delete (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFolderSnapshot> folders);
static member Delete : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFolderSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFolderSnapshot>
<Extension()>
Public Function Delete (folders As IAsyncUpdatable(Of IFolderSnapshot)) As IAsyncUpdatable(Of IFolderSnapshot)

Parameters

folders
IAsyncUpdatable<IFolderSnapshot>

A set of folders to be deleted.

Returns

A set of deleted solution folders.

Applies to

Delete(IAsyncUpdatable<IBuildPropertySnapshot>)

Caution

Build Properties will be deprecated and folded into Properties. Please use new extensions available in ProjectConfiguration, PropertiesByName and pass the corresponding source type.

Deletes a set of build property.

[System.Obsolete("Build Properties will be deprecated and folded into Properties. Please use new extensions available in ProjectConfiguration, PropertiesByName and pass the corresponding source type.")]
public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IBuildPropertySnapshot> Delete (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IBuildPropertySnapshot> buildProperties);
[<System.Obsolete("Build Properties will be deprecated and folded into Properties. Please use new extensions available in ProjectConfiguration, PropertiesByName and pass the corresponding source type.")>]
static member Delete : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IBuildPropertySnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IBuildPropertySnapshot>
<Extension()>
Public Function Delete (buildProperties As IAsyncUpdatable(Of IBuildPropertySnapshot)) As IAsyncUpdatable(Of IBuildPropertySnapshot)

Parameters

Returns

A set of deleted build properties.

Attributes

Applies to