Deletes the file at the specified path from storage.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Friend Overridable Sub DeleteFromStorage ( _
path As String _
)
'使用
Dim path As String
Me.DeleteFromStorage(path)
protected internal virtual void DeleteFromStorage(
string path
)
protected public:
virtual void DeleteFromStorage(
String^ path
)
protected internal function DeleteFromStorage(
path : String
)
Parameters
path
Type: System.StringThe path of the file to delete.
Remarks
By default, this method does nothing; it should be implemented for nodes that are backed with items that exist on disk. For an implementation, see [M:Microsoft.VisualStudio.Package.FileNode.DeleteFromStorage(string path)].
Permissions
- 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.