Share via


DataPackagePropertySetView Class

Definition

A read-only view of a DataPackagePropertySet.

public ref class DataPackagePropertySetView : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^>
public class DataPackagePropertySetView : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyDictionary<string,object>
type DataPackagePropertySetView = class
    interface IReadOnlyDictionary<string, obj>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IReadOnlyCollection<KeyValuePair<string, obj>>
Public Class DataPackagePropertySetView
Implements IEnumerable(Of KeyValuePair(Of String, Object)), IReadOnlyCollection(Of KeyValuePair(Of String, Object)), IReadOnlyDictionary(Of String, Object)
Inheritance
DataPackagePropertySetView
Implements

Constructors

Name Description
DataPackagePropertySetView(DataPackagePropertySet)

Initializes a new instance of the DataPackagePropertySetView class.

Fields

Name Description
_dataPackagePropertySet

The underlying property set.

Properties

Name Description
Count

Gets the number of properties in the view.

Item[String]

Gets the property value associated with the specified key.

Keys

Gets the collection of property keys.

Values

Gets the collection of property values.

Methods

Name Description
ContainsKey(String)

Determines whether the view contains a property with the specified key.

GetEnumerator()

Returns an enumerator that iterates through the properties.

TryGetValue(String, Object)

Gets the value associated with the specified key.

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Applies to