Table of Contents

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

ThingModelFormat

Value

The wire format identifier.

public string Value { get; }

Property Value

string

Methods

Custom(string)

A format identifier not covered by the known formats.

public static ThingModelFormat Custom(string format)

Parameters

format string

Returns

ThingModelFormat

Operators

implicit operator ThingModelFormat(string)

Implicitly treats a string as a (possibly custom) format identifier.

public static implicit operator ThingModelFormat(string format)

Parameters

format string

Returns

ThingModelFormat