Struct ThingDescriptionFormat
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Models
- Assembly
- Azure.Iot.Operations.Services.dll
Format of a Thing Description Version document. The known format mirrors the one defined by the xRegistry Thing Description extension; any other identifier can be supplied via Custom(string).
public readonly struct ThingDescriptionFormat
- Inherited Members
Properties
JsonLd11
JSON-LD 1.1 format (JSON-LD/1.1).
public static ThingDescriptionFormat JsonLd11 { get; }
Property Value
Value
The wire format identifier.
public string Value { get; }
Property Value
Methods
Custom(string)
A format identifier not covered by the known formats.
public static ThingDescriptionFormat Custom(string format)
Parameters
formatstring
Returns
Operators
implicit operator ThingDescriptionFormat(string)
Implicitly treats a string as a (possibly custom) format identifier.
public static implicit operator ThingDescriptionFormat(string format)
Parameters
formatstring