共用方式為


BasicDigitalTwinComponent Class

Definition

Properties on a component that adhere to a specific model.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.DigitalTwins.Core.BasicDigitalTwinComponentJsonConverter))]
public class BasicDigitalTwinComponent
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.DigitalTwins.Core.BasicDigitalTwinComponentJsonConverter))>]
type BasicDigitalTwinComponent = class
Public Class BasicDigitalTwinComponent
Inheritance
BasicDigitalTwinComponent
Attributes

Remarks

This helper class will only work with System.Text.Json. When used with the ObjectSerializer, parameter to DigitalTwinsClientOptions it will only work with the default (JsonObjectSerializer).

For more samples, see our repo samples.

Constructors

BasicDigitalTwinComponent()

Properties

Contents

This field will contain properties and components as defined in the contents section of the DTDL definition of the twin.

LastUpdatedOn

The date and time the component was last updated.

Metadata

The component metadata.

Applies to