BitmapPropertySet class

Applies to Windows and Windows Phone

Represents a property set of BitmapTypedValue objects.

Syntax


var bitmapPropertySet = new Windows.Graphics.Imaging.BitmapPropertySet();

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

Members

The BitmapPropertySet class has these types of members:

Constructors

The BitmapPropertySet class has these constructors.

ConstructorDescription
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.

MethodDescription
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.

PropertyAccess typeDescription

Count [C#, VB]

Read-onlyGets the number of elements contained in the collection.

IsReadOnly [C#, VB]

Read-onlyGets a value indicating whether the dictionary is read-only.

Item [C#, VB]

Read/writeGets or sets the element value at the specified key index.

Keys [C#, VB]

Read-onlyGets an ICollection object containing the keys of the BitmapPropertySet.

Size [C++, JavaScript]

Read-onlyGets the number of items contained in the property set.

Values [C#, VB]

Read-onlyGets 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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd

DLL

Windows.Graphics.dll

See also

BitmapTypedValue
How to read image metadata
How to write image metadata

 

 

Show:
© 2014 Microsoft