AsnWriter.WriteNull(Nullable<Asn1Tag>) Method

Definition

Write NULL with a specified tag.

public void WriteNull (System.Formats.Asn1.Asn1Tag? tag = default);
member this.WriteNull : Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteNull (Optional tag As Nullable(Of Asn1Tag) = Nothing)

Parameters

tag
Nullable<Asn1Tag>

The tag to write, or null for the default tag (Universal 5).

Exceptions

tag.TagClass is Universal, but tag.TagValue is not correct for the method.

Applies to