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);

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

Vara Útgáfur
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

See also