CborWriter.WriteTag(CborTag) 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.
Important
This API is not CLS-compliant.
Assign a semantic tag (major type 6) to the next data item.
public:
void WriteTag(System::Formats::Cbor::CborTag tag);
[System.CLSCompliant(false)]
public void WriteTag (System.Formats.Cbor.CborTag tag);
[<System.CLSCompliant(false)>]
member this.WriteTag : System.Formats.Cbor.CborTag -> unit
Public Sub WriteTag (tag As CborTag)
Parameters
- tag
- CborTag
The value to write.
- Attributes
Exceptions
Writing a new value exceeds the definite length of the parent data item.
-or-
The major type of the encoded value is not permitted in the parent data item.
-or-
The written data is not accepted under the current conformance mode.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for