共用方式為


ReportedProperties Class

Definition

The collection of twin properties reported by the client.

public class ReportedProperties : Microsoft.Azure.Devices.Client.PropertyCollection
type ReportedProperties = class
    inherit PropertyCollection
Public Class ReportedProperties
Inherits PropertyCollection
Inheritance
ReportedProperties

Constructors

ReportedProperties()

Initializes a new instance of this class.

ReportedProperties(Dictionary<String,Object>, Boolean)

Creates an instance of this class.

Properties

Item[String]

Gets or sets the value associated with the specified key.

PayloadConvention

The payload convention that defines a specific serializer as well as a specific content encoding for the payload.

(Inherited from PropertyCollection)
Version

The version of the client twin properties.

(Inherited from PropertyCollection)

Methods

Add(String, Object)

Adds the values to the collection.

GetEnumerator() (Inherited from PropertyCollection)
GetSerializedString()

The client twin properties, as a serialized string.

(Inherited from PropertyCollection)
TryGetValue<T>(String, T)

Gets the value associated with the propertyKey in the reported property collection.

(Inherited from PropertyCollection)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from PropertyCollection)

Applies to