IXREnumerator::GetCurrent (Compact 2013)

3/28/2014

This method retrieves the value at the current position of the enumerator.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetCurrent(
    XRValue * pValue
) = 0;

Parameters

  • pValue
    [out] Pointer to the XRValue object at the current position of the enumerator.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You must call IXREnumerator::MoveNext at least once before you call this method because the enumerator is positioned before the first element in the collection immediately after the enumerator is created. You must call IXREnumerator::MoveNext to advance the enumerator to the first element of the collection before you call GetCurrent.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXREnumerator