ArcObjects Library Reference (Editor)  

IFeatureSnapAgent.FeatureCache Property

The FeatureCache associated with the feature snap agent.

[Visual Basic .NET]
Public ReadOnly Property FeatureCache As IFeatureCache
[C#]
public IFeatureCache FeatureCache {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

This property has no significance when creating a new feature snap agent. Instead, it is used, albeit rarely, inside a sketch tool to perform custom operations on features held in the snapping environments feature cache. For example, the editor's SketchTool can issue an angular constraint and still honor the current snapping environment. If this case, a new point would be on the specified angle no matter what but its distance away may change depending on whether or not the point falls within the snap tolerance of a feature. To implement this, the Sketch Tool issues the angular constraint and then reuses the snapping environments feature caches to check if the new point is within snap tolerance of a feature belonging to one of the feature snap agents. You could create your own caches to do this, one for each feature snap agent, but since they already exist, it is much easier to use them.

See Also

IFeatureSnapAgent Interface