C# Class System.IO.__ConsoleStream

Inheritance: Stream
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Flush ( ) : void
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Read ( [ buffer, int offset, int count ) : int
ReadFile ( System.IO.SafeFileHandle handle, byte bytes, int numBytesToRead, int &numBytesRead, IntPtr mustBeZero ) : int
ReadFileNative ( System.IO.SafeFileHandle hFile, byte bytes, int offset, int count, int mustBeZero, int &errorCode ) : int
Write ( byte buffer, int offset, int count ) : void
WriteFile ( System.IO.SafeFileHandle handle, byte bytes, int numBytesToWrite, int &numBytesWritten, IntPtr mustBeZero ) : int
WriteFileNative ( System.IO.SafeFileHandle hFile, byte bytes, int offset, int count, int mustBeZero, int &errorCode ) : int
__ConsoleStream ( System.IO.SafeFileHandle handle, FileAccess access ) : System

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void