BinaryTokenStreamWriter.Write 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Write(IPAddress) |
將 |
Write(IPEndPoint) |
將 |
Write(SByte) |
將 |
Write(SByte[]) |
將 |
Write(Single) |
將 |
Write(Single[]) |
將 |
Write(String) |
將 |
Write(UInt16[]) |
將 |
Write(UInt16) |
將 |
Write(Int64[]) |
將 |
Write(UInt32) |
將 |
Write(UInt32[]) |
將 |
Write(UInt64) |
將 |
Write(UInt64[]) |
將 |
Write(Byte[], Int32, Int32) |
從輸入 |
Write(TimeSpan) |
將 |
Write(Int64) |
將 |
Write(Int16[]) |
將 |
Write(Int32) |
將 |
Write(SiloAddress) |
將 |
Write(Boolean) |
將 |
Write(Boolean[]) |
將 |
Write(Byte) |
將 |
Write(Byte[]) |
將 |
Write(Char) |
將 |
Write(Char[]) |
將 |
Write(List<ArraySegment<Byte>>) |
將位元組陣列區段的清單寫入資料流程。 |
Write(DateTime) |
將 |
Write(Decimal) |
將 |
Write(Double) |
將 |
Write(Double[]) |
將 |
Write(Guid) |
將 |
Write(Int16) |
將 |
Write(Int32[]) |
將 |
Write(IPAddress)
將 IPAddress
值寫入資料流程。
public void Write (System.Net.IPAddress ip);
member this.Write : System.Net.IPAddress -> unit
abstract member Write : System.Net.IPAddress -> unit
override this.Write : System.Net.IPAddress -> unit
Public Sub Write (ip As IPAddress)
參數
- ip
- IPAddress
實作
適用於
Write(IPEndPoint)
將 IPEndPoint
值寫入資料流程。
public void Write (System.Net.IPEndPoint ep);
member this.Write : System.Net.IPEndPoint -> unit
abstract member Write : System.Net.IPEndPoint -> unit
override this.Write : System.Net.IPEndPoint -> unit
Public Sub Write (ep As IPEndPoint)
參數
- ep
- IPEndPoint
實作
適用於
Write(SByte)
將 sbyte
值寫入資料流程。
public void Write (sbyte b);
member this.Write : sbyte -> unit
abstract member Write : sbyte -> unit
override this.Write : sbyte -> unit
Public Sub Write (b As SByte)
參數
- b
- SByte
實作
適用於
Write(SByte[])
將 sbyte[]
值寫入資料流程。
public void Write (sbyte[] l);
member this.Write : sbyte[] -> unit
abstract member Write : sbyte[] -> unit
override this.Write : sbyte[] -> unit
Public Sub Write (l As SByte())
參數
- l
- SByte[]
實作
適用於
Write(Single)
將 float
值寫入資料流程。
public void Write (float f);
member this.Write : single -> unit
abstract member Write : single -> unit
override this.Write : single -> unit
Public Sub Write (f As Single)
參數
- f
- Single
實作
適用於
Write(Single[])
將 float[]
值寫入資料流程。
public void Write (float[] f);
member this.Write : single[] -> unit
abstract member Write : single[] -> unit
override this.Write : single[] -> unit
Public Sub Write (f As Single())
參數
- f
- Single[]
實作
適用於
Write(String)
將 string
值寫入資料流程。
public void Write (string s);
member this.Write : string -> unit
abstract member Write : string -> unit
override this.Write : string -> unit
Public Sub Write (s As String)
參數
- s
- String
實作
適用於
Write(UInt16[])
將 UInt16[]
值寫入資料流程。
public void Write (ushort[] i);
member this.Write : uint16[] -> unit
abstract member Write : uint16[] -> unit
override this.Write : uint16[] -> unit
Public Sub Write (i As UShort())
參數
- i
- UInt16[]
實作
適用於
Write(UInt16)
將 UInt16
值寫入資料流程。
public void Write (ushort u);
member this.Write : uint16 -> unit
abstract member Write : uint16 -> unit
override this.Write : uint16 -> unit
Public Sub Write (u As UShort)
參數
- u
- UInt16
實作
適用於
Write(Int64[])
將 Int64[]
值寫入資料流程。
public void Write (long[] l);
member this.Write : int64[] -> unit
abstract member Write : int64[] -> unit
override this.Write : int64[] -> unit
Public Sub Write (l As Long())
參數
- l
- Int64[]
實作
適用於
Write(UInt32)
將 UInt32
值寫入資料流程。
public void Write (uint u);
member this.Write : uint32 -> unit
abstract member Write : uint32 -> unit
override this.Write : uint32 -> unit
Public Sub Write (u As UInteger)
參數
- u
- UInt32
實作
適用於
Write(UInt32[])
將 UInt32[]
值寫入資料流程。
public void Write (uint[] i);
member this.Write : uint32[] -> unit
abstract member Write : uint32[] -> unit
override this.Write : uint32[] -> unit
Public Sub Write (i As UInteger())
參數
- i
- UInt32[]
實作
適用於
Write(UInt64)
將 UInt64
值寫入資料流程。
public void Write (ulong u);
member this.Write : uint64 -> unit
abstract member Write : uint64 -> unit
override this.Write : uint64 -> unit
Public Sub Write (u As ULong)
參數
- u
- UInt64
實作
適用於
Write(UInt64[])
將 UInt64[]
值寫入資料流程。
public void Write (ulong[] l);
member this.Write : uint64[] -> unit
abstract member Write : uint64[] -> unit
override this.Write : uint64[] -> unit
Public Sub Write (l As ULong())
參數
- l
- UInt64[]
實作
適用於
Write(Byte[], Int32, Int32)
從輸入 byte[]
中指定的位移開始,將指定的位元組數目寫入資料流程。
public void Write (byte[] b, int offset, int count);
member this.Write : byte[] * int * int -> unit
abstract member Write : byte[] * int * int -> unit
override this.Write : byte[] * int * int -> unit
Public Sub Write (b As Byte(), offset As Integer, count As Integer)
參數
- b
- Byte[]
要寫入的輸入資料。
- offset
- Int32
inout byte[] 中要開始寫入位元組的位移。
- count
- Int32
要寫入的位元組數目。
實作
適用於
Write(TimeSpan)
將 TimeSpan
值寫入資料流程。
public void Write (TimeSpan ts);
member this.Write : TimeSpan -> unit
abstract member Write : TimeSpan -> unit
override this.Write : TimeSpan -> unit
Public Sub Write (ts As TimeSpan)
參數
- ts
- TimeSpan
實作
適用於
Write(Int64)
將 Int64
值寫入資料流程。
public void Write (long l);
member this.Write : int64 -> unit
abstract member Write : int64 -> unit
override this.Write : int64 -> unit
Public Sub Write (l As Long)
參數
- l
- Int64
實作
適用於
Write(Int16[])
將 Int16[]
值寫入資料流程。
public void Write (short[] i);
member this.Write : int16[] -> unit
abstract member Write : int16[] -> unit
override this.Write : int16[] -> unit
Public Sub Write (i As Short())
參數
- i
- Int16[]
實作
適用於
Write(Int32)
將 Int32
值寫入資料流程。
public void Write (int i);
member this.Write : int -> unit
abstract member Write : int -> unit
override this.Write : int -> unit
Public Sub Write (i As Integer)
參數
- i
- Int32
實作
適用於
Write(SiloAddress)
將 SiloAddress
值寫入資料流程。
public void Write (Orleans.Runtime.SiloAddress addr);
member this.Write : Orleans.Runtime.SiloAddress -> unit
abstract member Write : Orleans.Runtime.SiloAddress -> unit
override this.Write : Orleans.Runtime.SiloAddress -> unit
Public Sub Write (addr As SiloAddress)
參數
- addr
- SiloAddress
實作
適用於
Write(Boolean)
將 bool
值寫入資料流程。
public void Write (bool b);
member this.Write : bool -> unit
abstract member Write : bool -> unit
override this.Write : bool -> unit
Public Sub Write (b As Boolean)
參數
- b
- Boolean
實作
適用於
Write(Boolean[])
將 bool[]
值寫入資料流程。
public void Write (bool[] l);
member this.Write : bool[] -> unit
abstract member Write : bool[] -> unit
override this.Write : bool[] -> unit
Public Sub Write (l As Boolean())
參數
- l
- Boolean[]
實作
適用於
Write(Byte)
將 byte
值寫入資料流程。
public void Write (byte b);
member this.Write : byte -> unit
abstract member Write : byte -> unit
override this.Write : byte -> unit
Public Sub Write (b As Byte)
參數
- b
- Byte
實作
適用於
Write(Byte[])
將 byte[]
值寫入資料流程。
public void Write (byte[] b);
member this.Write : byte[] -> unit
abstract member Write : byte[] -> unit
override this.Write : byte[] -> unit
Public Sub Write (b As Byte())
參數
- b
- Byte[]
實作
適用於
Write(Char)
將 char
值寫入資料流程。
public void Write (char c);
member this.Write : char -> unit
abstract member Write : char -> unit
override this.Write : char -> unit
Public Sub Write (c As Char)
參數
- c
- Char
實作
適用於
Write(Char[])
將 char[]
值寫入資料流程。
public void Write (char[] l);
member this.Write : char[] -> unit
abstract member Write : char[] -> unit
override this.Write : char[] -> unit
Public Sub Write (l As Char())
參數
- l
- Char[]
實作
適用於
Write(List<ArraySegment<Byte>>)
將位元組陣列區段的清單寫入資料流程。
public void Write (System.Collections.Generic.List<ArraySegment<byte>> bytes);
member this.Write : System.Collections.Generic.List<ArraySegment<byte>> -> unit
abstract member Write : System.Collections.Generic.List<ArraySegment<byte>> -> unit
override this.Write : System.Collections.Generic.List<ArraySegment<byte>> -> unit
Public Sub Write (bytes As List(Of ArraySegment(Of Byte)))
參數
- bytes
- List<ArraySegment<Byte>>
實作
適用於
Write(DateTime)
將 DataTime
值寫入資料流程。
public void Write (DateTime dt);
member this.Write : DateTime -> unit
abstract member Write : DateTime -> unit
override this.Write : DateTime -> unit
Public Sub Write (dt As DateTime)
參數
- dt
- DateTime
實作
適用於
Write(Decimal)
將 decimal
值寫入資料流程。
public void Write (decimal d);
member this.Write : decimal -> unit
abstract member Write : decimal -> unit
override this.Write : decimal -> unit
Public Sub Write (d As Decimal)
參數
- d
- Decimal
實作
適用於
Write(Double)
double
將值寫入資料流程。
public void Write (double d);
member this.Write : double -> unit
abstract member Write : double -> unit
override this.Write : double -> unit
Public Sub Write (d As Double)
參數
- d
- Double
實作
適用於
Write(Double[])
double[]
將值寫入資料流程。
public void Write (double[] d);
member this.Write : double[] -> unit
abstract member Write : double[] -> unit
override this.Write : double[] -> unit
Public Sub Write (d As Double())
參數
- d
- Double[]
實作
適用於
Write(Guid)
Guid
將值寫入資料流程。
public void Write (Guid id);
member this.Write : Guid -> unit
abstract member Write : Guid -> unit
override this.Write : Guid -> unit
Public Sub Write (id As Guid)
參數
- id
- Guid
實作
適用於
Write(Int16)
Int16
將值寫入資料流程。
public void Write (short s);
member this.Write : int16 -> unit
abstract member Write : int16 -> unit
override this.Write : int16 -> unit
Public Sub Write (s As Short)
參數
- s
- Int16
實作
適用於
Write(Int32[])
Int32[]
將值寫入資料流程。
public void Write (int[] i);
member this.Write : int[] -> unit
abstract member Write : int[] -> unit
override this.Write : int[] -> unit
Public Sub Write (i As Integer())
參數
- i
- Int32[]