DataPackagePropertySetView Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<String,Object>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<String,Object> IEnumerable
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() | |