다음을 통해 공유


CborReader.SkipValue(Boolean) Method

Definition

Reads the contents of the next value, discarding the result and advancing the reader.

public void SkipValue (bool disableConformanceModeChecks = false);
member this.SkipValue : bool -> unit
Public Sub SkipValue (Optional disableConformanceModeChecks As Boolean = false)

Parameters

disableConformanceModeChecks
Boolean

true to disable conformance mode validation for the skipped values, equivalent to using Lax; otherwise, false.

Exceptions

The reader is not at the start of new value.

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