Method Write
Write(Boolean)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(bool value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Byte)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(byte value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Char)
Writes ch
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(char ch)
Parameters
Type | Name | Description |
---|---|---|
System. |
ch | Object to write |
Write(Int16)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(short value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Int32)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(int value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Int64)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(long value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Decimal)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(decimal value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Single)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(float value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Double)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(double value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(DateTime)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Guid)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(Guid value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Byte[])
Writes buffer
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(byte[] buffer)
Parameters
Type | Name | Description |
---|---|---|
System. |
buffer | Object to write |
Write(Char[])
Writes chars
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(char[] chars)
Parameters
Type | Name | Description |
---|---|---|
System. |
chars | Object to write |
Write(String)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(Byte[], Int32, Int32)
Writes buffer
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(byte[] buffer, int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System. |
buffer | buffer to write |
System. |
index | starting position in the buffer |
System. |
count | number of bytes to write |
Write(Char[], Int32, Int32)
Writes chars
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(char[] chars, int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System. |
chars | buffer to write |
System. |
index | starting position in the buffer |
System. |
count | number of bytes to write |
Write(SByte)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(sbyte value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(UInt16)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(ushort value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(UInt32)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(uint value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |
Write(UInt64)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(ulong value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | Object to write |