This document is archived and information here might be outdated. Recommended version. |
Returns a reference to the set of layers that will be excluded in snapping.
[Visual Basic .NET] Public Sub ExcludedLayers ( _ ByRef ppSet As ISet _ )
[C#] public void ExcludedLayers ( ref ISet ppSet );
[C++]
HRESULT get_ExcludedLayers(
ISet** ppSet
);
[C++] Parameters ppSet
ppSet is a parameter of type ISet**
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();