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
ppSetppSet 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();