ISharePointProjectItemVirtualFileCollection.Remove Method
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
file
Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectItemVirtualFileThe file to be removed.
Return Value
Type: Boolean
true if value was removed; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.