IXRGradientStopCollection::GetItem (Compact 2013)
3/28/2014
This method retrieves the item at the specified index in the IXRGradientStopCollection collection.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetItem(
__in int ItemIndex,
__out IXRGradientStop** ppObject
) = 0;
Parameters
- ItemIndex
[in] Integer value that specifies the index of the location of the item to retrieve.
- ppObject
[out] Pointer to a pointer to an IXRGradientStop object that represents the item located in the collection at the index specified in ItemIndex.
Return Value
Returns an HRESULT that indicates success or failure.
.NET Framework Equivalent
System.Windows.PresentationFrameworkCollection(T).IList.IndexOf
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
IXRGradientStopCollection
IXRGradientBrush::GetGradientStops
IXRGradientBrush::SetGradientStops