BinaryTokenStreamWriter.WriteTypeHeader(Type, Type) 方法

定义

将指定类型的类型标头写入流。

public void WriteTypeHeader (Type t, Type expected = default);
member this.WriteTypeHeader : Type * Type -> unit
abstract member WriteTypeHeader : Type * Type -> unit
override this.WriteTypeHeader : Type * Type -> unit
Public Sub WriteTypeHeader (t As Type, Optional expected As Type = Nothing)

参数

t
Type

键入要为其写入标头。

expected
Type

此流的当前预期类型。

实现

适用于