FileHandleType Enum
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.
Specifies the type of a file.
public enum class FileHandleType
public enum FileHandleType
type FileHandleType =
Public Enum FileHandleType
- Inheritance
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | The file type is unknown. |
| RegularFile | 1 | The file is a regular file. |
| Pipe | 2 | The file is a pipe (FIFO). |
| Socket | 3 | The file is a socket. |
| CharacterDevice | 4 | The file is a character device. |
| Directory | 5 | The file is a directory. |
| SymbolicLink | 6 | The file is a symbolic link. |
| BlockDevice | 7 | The file is a block device. |
Remarks
Use the Type property to determine the type of a file represented by a handle.