FileSystemProvider.ClearContent(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears the content of the specified file.
public:
virtual void ClearContent(System::String ^ path);
public:
void ClearContent(Platform::String ^ path);
void ClearContent(std::wstring const & path);
public void ClearContent (string path);
override this.ClearContent : string -> unit
abstract member ClearContent : string -> unit
override this.ClearContent : string -> unit
Public Sub ClearContent (path As String)
Parameters
- path
- String
The path to the file of which to clear the contents.
Implements
Exceptions
path is null or empty.