CborReader.SkipToParent(Boolean) 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.
Reads the remaining contents of the current value context, discarding results and advancing the reader to the next value in the parent context.
public void SkipToParent (bool disableConformanceModeChecks = false);
member this.SkipToParent : bool -> unit
Public Sub SkipToParent (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 at the root context
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
.NET