BitmapPropertySet BitmapPropertySet BitmapPropertySet BitmapPropertySet BitmapPropertySet Class

Definition

Represents a property set of BitmapTypedValue objects.

public : sealed class BitmapPropertySet : IIterable<IKeyValuePair<Platform::String, BitmapTypedValue>>, IMap<Platform::String, BitmapTypedValue>
struct winrt::Windows::Graphics::Imaging::BitmapPropertySet : IIterable<IKeyValuePair<Platform::String, BitmapTypedValue>>, IMap<Platform::String, BitmapTypedValue>
public sealed class BitmapPropertySet : IEnumerable<KeyValuePair<String, BitmapTypedValue>>, IDictionary<String, BitmapTypedValue>
Public NotInheritable Class BitmapPropertySet Implements IEnumerable<KeyValuePair<String, BitmapTypedValue>>, IDictionary<String, BitmapTypedValue>
var bitmapPropertySet = new bitmapPropertySet();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

Constructors

BitmapPropertySet() BitmapPropertySet() BitmapPropertySet() BitmapPropertySet() BitmapPropertySet()

Creates and initializes a new instance of the bitmap property set.

Properties

Item[TKey] Item[TKey] Item[TKey] Item[TKey] Item[TKey]

Gets or sets the element with the specified key.

Keys Keys Keys Keys Keys

Gets an System.Collections.Generic.ICollection`1 containing the keys of the System.Collections.Generic.IDictionary`2.

Size Size Size Size Size

Gets the number of items contained in the property set.

Values Values Values Values Values

Gets an System.Collections.Generic.ICollection`1 containing the values in the System.Collections.Generic.IDictionary`2.

Methods

Add(TKey, TValue) Add(TKey, TValue) Add(TKey, TValue) Add(TKey, TValue) Add(TKey, TValue)

Adds an element with the provided key and value to the System.Collections.Generic.IDictionary`2.

Clear() Clear() Clear() Clear() Clear()

Removes all items from the property set.

ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey)

Determines whether the System.Collections.Generic.IDictionary`2 contains an element with the specified key.

First() First() First() First() First()

Returns an iterator to enumerate the items in the property set.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

GetView() GetView() GetView() GetView() GetView()

Gets an immutable view of the property set.

HasKey(String) HasKey(String) HasKey(String) HasKey(String) HasKey(String)

Indicates whether the property set has an item with the specified key.

Insert(String, BitmapTypedValue) Insert(String, BitmapTypedValue) Insert(String, BitmapTypedValue) Insert(String, BitmapTypedValue) Insert(String, BitmapTypedValue)

Adds an item to the property set.

Lookup(String) Lookup(String) Lookup(String) Lookup(String) Lookup(String)

Retrieves the value for the specified key.

Remove(T) Remove(T) Remove(T) Remove(T) Remove(T)

Removes the element with the specified key from the System.Collections.Generic.IDictionary`2.

Remove(String) Remove(String) Remove(String) Remove(String) Remove(String)

Removes an item from the property set.

TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue)

Gets the value associated with the specified key.

See Also