Del via


AsnWriter.PopSequence(Nullable<Asn1Tag>) Method

Definition

Indicate that the open Sequence with the specified tag is closed, returning the writer to the parent context.

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

Parameters

tag
Nullable<Asn1Tag>

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

Exceptions

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

the writer is not currently positioned within a Sequence with the specified tag.

Applies to