次の方法で共有


IXRPointCollection::Insert (Compact 2013)

3/28/2014

This method inserts an item into the IXRPointCollection collection at the location specified by the index value.

Syntax

virtual HRESULT STDMETHODCALLTYPE Insert(
    __in int Index,
    __in XRPoint* pPoint
) = 0;

Parameters

  • Index
    [in] An int value that indicates the zero-based index value at which pPoint will be inserted.
  • pPoint
    [in] Pointer to the XRPoint object that represents the item to insert.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If Index is equal to the value retrieved by IXRPointCollection::GetCount, the item is added to the end of this collection.

When an item is inserted into this collection, the subsequent items are moved to the next indexed position.

.NET Framework Equivalent

System.Windows.PresentationFrameworkCollection(T).IList.Insert

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPointCollection
IXRPolyLineSegment::GetPoints
IXRPolyLineSegment::SetPoints
IXRPolyBezierSegment::GetPoints
IXRPolyBezierSegment::SetPoints
IXRPolyQuadraticBezierSegment::GetPoints
IXRPolyQuadraticBezierSegment::SetPoints
IXRPolygon::GetPoints
IXRPolygon::SetPoints
IXRPolyline::GetPoints
IXRPolyline::SetPoints