共用方式為


ISharePointProjectItemVirtualFileCollection.Remove Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Removes a virtual file from the collection.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function Remove ( _
    file As ISharePointProjectItemVirtualFile _
) As Boolean
bool Remove(
    ISharePointProjectItemVirtualFile file
)

Parameters

Return Value

Type: System.Boolean
true if value was removed; otherwise, false.

.NET Framework Security

See Also

Reference

ISharePointProjectItemVirtualFileCollection Interface

Microsoft.VisualStudio.SharePoint Namespace