編集

次の方法で共有


CborReader.ReadTag Method

Definition

Important

This API is not CLS-compliant.

Reads the next data item as a semantic tag (major type 6).

public:
 System::Formats::Cbor::CborTag ReadTag();
[System.CLSCompliant(false)]
public System.Formats.Cbor.CborTag ReadTag ();
[<System.CLSCompliant(false)>]
member this.ReadTag : unit -> System.Formats.Cbor.CborTag
Public Function ReadTag () As CborTag

Returns

The decoded value.

Attributes

Exceptions

The next data item does not have the correct major type.

The next value has an invalid CBOR encoding.

-or-

There was an unexpected end of CBOR encoding data.

-or-

The next value uses a CBOR encoding that is not valid under the current conformance mode.

Applies to