C# Class System.IO.Stream

Inheritance: IDisposable
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Свойство Type Description
Null Stream

Private Properties

Свойство Type Description
BeginRead IAsyncResult
BeginWrite IAsyncResult
CreateWaitHandle WaitHandle
Synchronized Stream
_CloseAsyncActiveEvent void

Méthodes publiques

Méthode Description
Close ( ) : void
Dispose ( ) : void
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Read ( [ buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, Object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, Object state ) : IAsyncResult
CreateWaitHandle ( ) : WaitHandle
Synchronized ( Stream stream ) : Stream
_CloseAsyncActiveEvent ( int asyncActiveCount ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndRead() public méthode

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndWrite() public méthode

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

Flush() public abstract méthode

public abstract Flush ( ) : void
Résultat void

Read() public abstract méthode

public abstract Read ( [ buffer, int offset, int count ) : int
buffer [
offset int
count int
Résultat int

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public abstract méthode

public abstract Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public abstract méthode

public abstract SetLength ( long value ) : void
value long
Résultat void

Write() public abstract méthode

public abstract Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void

Property Details

Null public_oe static_oe property

public static Stream Null
Résultat Stream