DeleteDirectoryOption DeleteDirectoryOption DeleteDirectoryOption DeleteDirectoryOption Enum

Definición

Especifica qué se hace cuando un directorio que se va a eliminar contiene archivos o directorios.Specifies what should be done when a directory that is to be deleted contains files or directories.

public enum class DeleteDirectoryOption
public enum DeleteDirectoryOption
type DeleteDirectoryOption = 
Public Enum DeleteDirectoryOption
Herencia
DeleteDirectoryOptionDeleteDirectoryOptionDeleteDirectoryOptionDeleteDirectoryOption

Campos

DeleteAllContents DeleteAllContents DeleteAllContents DeleteAllContents 5

Elimine el contenido del directorio junto con el directorio.Delete the contents of the directory along with the directory. PredeterminadoDefault.

ThrowIfDirectoryNonEmpty ThrowIfDirectoryNonEmpty ThrowIfDirectoryNonEmpty ThrowIfDirectoryNonEmpty 4

Produzca IOException si el directorio no se encuentra vacío.Throw an IOException if the directory is not empty. La propiedad Data de la excepción muestra una lista de los archivos que no se pudieron eliminar.The Data property of the exception lists the file(s) that could not be deleted.

Comentarios

Esta enumeración se utiliza con el DeleteDirectory método.This enumeration is used with the DeleteDirectory method.

Se aplica a

Consulte también: