AsnWriter.PushSetOf(Nullable<Asn1Tag>) 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.
Begin writing a Set-Of with a specified tag.
public System.Formats.Asn1.AsnWriter.Scope PushSetOf (System.Formats.Asn1.Asn1Tag? tag = default);
member this.PushSetOf : Nullable<System.Formats.Asn1.Asn1Tag> -> System.Formats.Asn1.AsnWriter.Scope
Public Function PushSetOf (Optional tag As Nullable(Of Asn1Tag) = Nothing) As AsnWriter.Scope
Parameters
Returns
A disposable value which will automatically call PopSetOf(Nullable<Asn1Tag>).
Exceptions
Remarks
In CER and DER modes the writer will sort the Set-Of elements when the tag is closed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.