DataPackagePropertySet 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 collection of custom properties for a DataPackage.
public ref class DataPackagePropertySet : System::Collections::IEnumerable
public class DataPackagePropertySet : System.Collections.IEnumerable
type DataPackagePropertySet = class
interface IEnumerable
Public Class DataPackagePropertySet
Implements IEnumerable
- Inheritance
-
DataPackagePropertySet
- Implements
Constructors
| Name | Description |
|---|---|
| DataPackagePropertySet() |
Initializes a new instance of the DataPackagePropertySet class. |
Properties
| Name | Description |
|---|---|
| Count |
Gets the number of properties in the set. |
| Item[String] |
Gets or sets 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 |
|---|---|
| Add(String, Object) |
Adds a property with the specified key and value. |
| ContainsKey(String) |
Determines whether the set 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() | |