ArcObjects Library Reference (Controls)  

IPointSnapper.ExcludedLayers Property

Returns a reference to the set of layers that will be excluded in snapping.

ERROR: Syntax information about IPointSnapper.ExcludedLayers may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[C++]
HRESULT get_ExcludedLayers(
  ISet** ppSet
);
[C++]

Parameters

ppSet

  ppSet is a parameter of type ISet

Product Availability

Available with ArcGIS Engine.
[C#]

The following code snippet illustrates how to exclude a particular layer from the snapping cache.

ISet excludedLayerSet = new ESRI.ArcGIS.esriSystem.SetClass();
pointSnapper.ExcludedLayers(ref excludedLayerSet);

//add a layer to be excluded  
excludedLayerSet.Add(excludedLayer);
pointSnapper.ClearCache(); 


 

See Also

IPointSnapper Interface