다음을 통해 공유


FileSystemProvider.ClearContent(String) Method

Definition

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.

Applies to