AsnWriter.WriteObjectIdentifier 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.
Overloads
WriteObjectIdentifier(ReadOnlySpan<Char>, Nullable<Asn1Tag>) |
Write an Object Identifier with a specified tag. |
WriteObjectIdentifier(String, Nullable<Asn1Tag>) |
Write an Object Identifier with a specified tag. |
WriteObjectIdentifier(ReadOnlySpan<Char>, Nullable<Asn1Tag>)
- Source:
- AsnWriter.Oid.cs
- Source:
- AsnWriter.Oid.cs
- Source:
- AsnWriter.Oid.cs
Write an Object Identifier with a specified tag.
public void WriteObjectIdentifier (ReadOnlySpan<char> oidValue, System.Formats.Asn1.Asn1Tag? tag = default);
member this.WriteObjectIdentifier : ReadOnlySpan<char> * Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteObjectIdentifier (oidValue As ReadOnlySpan(Of Char), Optional tag As Nullable(Of Asn1Tag) = Nothing)
Parameters
- oidValue
- ReadOnlySpan<Char>
The object identifier to write.
Exceptions
tag
.TagClass is Universal, but tag
.TagValue is not correct for the method.
-or-
oidValue
is not a valid dotted decimal object identifier.
Applies to
WriteObjectIdentifier(String, Nullable<Asn1Tag>)
- Source:
- AsnWriter.Oid.cs
- Source:
- AsnWriter.Oid.cs
- Source:
- AsnWriter.Oid.cs
Write an Object Identifier with a specified tag.
public void WriteObjectIdentifier (string oidValue, System.Formats.Asn1.Asn1Tag? tag = default);
member this.WriteObjectIdentifier : string * Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteObjectIdentifier (oidValue As String, Optional tag As Nullable(Of Asn1Tag) = Nothing)
Parameters
- oidValue
- String
The object identifier to write.
Exceptions
tag
.TagClass is Universal, but tag
.TagValue is not correct for the method.
-or-
oidValue
is not a valid dotted decimal object identifier.
oidValue
is null
.
Applies to
.NET