Share via


AsnWriter.Scope Struct

Definition

Represents a pushed ASN.1 scope.

C#
public readonly struct AsnWriter.Scope : IDisposable
Inheritance
AsnWriter.Scope
Implements

Remarks

Instances of this type are expected to be created from a Push member on AsnWriter, not instantiated directly. Calling Dispose() will call the corresponding Pop associated with the Push.

Methods

Dispose()

Pops the ASN.1 scope.

Applies to

Product Versions
.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)