Share via


IXRResourceDictionaryCollection (Compact 2013)

3/28/2014

This class represents a collection of resource dictionaries.

Syntax

class IXRResourceDictionaryCollection : public IXRDependencyObject

Inheritance Hierarchy

IXRDependencyObject

     IXRResourceDictionaryCollection

Methods

Method

Description

IXRResourceDictionaryCollection::Add

Adds an item to the end of this collection and retrieves the index of where it was added.

IXRResourceDictionaryCollection::Clear

Removes all items from this collection.

IXRResourceDictionaryCollection::Contains

Determines whether an item is in this collection.

IXRResourceDictionaryCollection::GetCount

Retrieves the number of items in this collection.

IXRResourceDictionaryCollection::GetItem

Retrieves the item at the specified index in this collection.

IXRResourceDictionaryCollection::IndexOf

Searches for the specified item and retrieves the zero-based index of its occurrence within this collection.

IXRResourceDictionaryCollection::Insert

Inserts an item into this collection at the location that has the specified index value.

IXRResourceDictionaryCollection::Remove

Removes a specific item from this collection.

IXRResourceDictionaryCollection::RemoveAt

Removes the item at the specified index from this collection.

Thread Safety

Members of this class are thread safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.

Remarks

When you create a class instance, use an IXRResourceDictionaryCollectionPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Collection Management