Language

SafeFileHandle.Type Property

Definition

Gets the type of the file that this handle represents.

public:
 property System::IO::FileHandleType Type { System::IO::FileHandleType get(); };
public System.IO.FileHandleType Type { get; }
member this.Type : System.IO.FileHandleType
Public ReadOnly Property Type As FileHandleType

Property Value

The type of the file.

Exceptions

The handle is closed.

Applies to