BinaryTokenStreamWriter.WriteTypeHeader(Type, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write a type header for the specified Type to the stream.
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)
Parameters
- t
- Type
Type to write header for.
- expected
- Type
Currently expected Type for this stream.