PropertyCollection Class

Definition

The collection of twin properties.

public abstract class PropertyCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type PropertyCollection = class
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
Public MustInherit Class PropertyCollection
Implements IEnumerable(Of KeyValuePair(Of String, Object))
Inheritance
PropertyCollection
Derived
Implements

Remarks

This abstract class is inherited by ReportedProperties to represent the collection of twin properties reported by the client. This abstract class is inherited by DesiredProperties to represent the collection of desired property update requests received from service.

Constructors

PropertyCollection(Dictionary<String,Object>, Boolean)

Creates an instance of this class.

Properties

PayloadConvention

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

Version

The version of the client twin properties.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

GetSerializedString()

The client twin properties, as a serialized string.

TryGetValue<T>(String, T)

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

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to