Represents a property set of BitmapTypedValue objects.
Syntax
var bitmapPropertySet = new Windows.Graphics.Imaging.BitmapPropertySet();
Attributes
- ActivatableAttribute(NTDDI_WIN8)
- MarshalingBehaviorAttribute(Agile)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
Members
The BitmapPropertySet class has these types of members:
Constructors
The BitmapPropertySet class has these constructors.
| Constructor | Description |
|---|---|
| BitmapPropertySet | Creates and initializes a new instance of the bitmap property set. |
Methods
The BitmapPropertySet class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
| Method | Description |
|---|---|
| Add(KeyValuePair) [C#, VB] | Adds a new key-value pair to the BitmapPropertySet. |
| Add(String) [C#, VB] | Adds an item to the BitmapPropertySet. |
| Clear | Removes all items from the property set. |
| Contains [C#, VB] | Returns a value that indicates whether a specified key-value pair exists in the BitmapPropertySet. |
| ContainsKey [C#, VB] | Returns a value that indicates whether a specified key exists in the BitmapPropertySet. |
| CopyTo [C#, VB] | Copies the elements of the collection to an array, starting at a particular array index. |
| First [C++, JavaScript] | Returns an iterator to enumerate the items in the property set. |
| GetView [C++, JavaScript] | Gets an immutable view of the property set. |
| HasKey [C++, JavaScript] | Indicates whether the property set has an item with the specified key. |
| Insert [C++, JavaScript] | Adds an item to the property set. |
| Lookup [C++, JavaScript] | Retrieves the value for the specified key. |
| Remove [C++, JavaScript] | Removes an item from the property set. |
| Remove(KeyValuePair) [C#, VB] | Removes a specific key-value pair from the BitmapPropertySet. |
| Remove(String) [C#, VB] | Removes a specific item from the BitmapPropertySet. |
| TryGetValue [C#, VB] | Returns a value that indicates whether a specified key exists in the BitmapPropertySet. If an item with that key exists, the item is retrieved as an out parameter. |
Properties
The BitmapPropertySet class has these properties.
| Property | Access type | Description |
|---|---|---|
|
Count [C#, VB] | Read-only | Gets the number of elements contained in the collection. |
|
IsReadOnly [C#, VB] | Read-only | Gets a value indicating whether the dictionary is read-only. |
|
Item [C#, VB] | Read/write | Gets or sets the element value at the specified key index. |
|
Keys [C#, VB] | Read-only | Gets an ICollection object containing the keys of the BitmapPropertySet. |
|
Size [C++, JavaScript] | Read-only | Gets the number of items contained in the property set. |
|
Values [C#, VB] | Read-only | Gets an ICollection object containing the values of the BitmapPropertySet . |
Remarks
BitmapPropertySet is a map with keys of type String and values of type BitmapTypedValue. Each String key is either a Windows property key or native metadata query.
Collection member lists
For JavaScript, BitmapPropertySet supports using an index to access items.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
See also
Build date: 12/4/2012