This document is archived and information here might be outdated.  Recommended version.


IEditSelectionCache.Initialize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSelectionCache Interface > IEditSelectionCache.Initialize Method
ArcGIS Developer Help

IEditSelectionCache.Initialize Method

Initializes the cache using the editor's selection.

[Visual Basic .NET]
Public Sub Initialize ( _
    ByVal Editor As IEditor, _
    ByVal sizePixels As Integer _
)
[C#]
public void Initialize (
    IEditor Editor,
    int sizePixels
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Use Initialize to fill the cache with features from the editor's current selection.  When the editor's selection changes you will need to rebuild the cache.  Pixels determines the height and width of the cache.

See Also

IEditSelectionCache Interface