Share via


IXREnumerable (Compact 7)

3/12/2014

This C++ class represents a base class for collections that are used as data sources for data binding.

Syntax

class  IXREnumerable : public IUnknown

Inheritance Hierarchy

IXREnumerable

     IXRValueCollection

Methods

Method Description

IXREnumerable::GetEnumerator

Retrieves an enumerator that iterates through a collection of values.

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

IXREnumerable is the base class for IXRValueCollection.

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

.NET Framework Equivalent

System.Collections.Generic.IEnumerable(T)

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Populating UI Elements with Data