RiaClientFilesTask.DeleteFolderIfEmpty Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Deletes the specified folder if it is empty.
Namespace: Microsoft.ServiceModel.DomainServices.Tools
Assembly: Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)
Syntax
'Declaration
Protected Sub DeleteFolderIfEmpty ( _
folderPath As String _
)
'Usage
Dim folderPath As String
Me.DeleteFolderIfEmpty(folderPath)
protected void DeleteFolderIfEmpty(
string folderPath
)
protected:
void DeleteFolderIfEmpty(
String^ folderPath
)
member DeleteFolderIfEmpty :
folderPath:string -> unit
protected function DeleteFolderIfEmpty(
folderPath : String
)
Parameters
- folderPath
Type: System.String
Full path to folder to be deleted.