다음을 통해 공유


AsnWriter.PopSetOf(Nullable<Asn1Tag>) Method

Definition

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

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

Parameters

tag
Nullable<Asn1Tag>

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

Exceptions

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

the writer is not currently positioned within a Set-Of with the specified tag.

Remarks

In CER and DER modes the writer will sort the Set-Of elements when the tag is closed.

Applies to