Struct ThingModelFormat
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Models
- Assembly
- Azure.Iot.Operations.Services.dll
Format of a Thing Model Version document. The known format mirrors the one defined by the xRegistry Thing Model extension; any other identifier can be supplied via Custom(string).
public readonly struct ThingModelFormat
- Inherited Members
Properties
JsonLd11
JSON-LD 1.1 format (JSON-LD/1.1).
public static ThingModelFormat 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 ThingModelFormat Custom(string format)
Parameters
formatstring
Returns
Operators
implicit operator ThingModelFormat(string)
Implicitly treats a string as a (possibly custom) format identifier.
public static implicit operator ThingModelFormat(string format)
Parameters
formatstring