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

IValidation.ValidateSet Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IValidation Interface > IValidation.ValidateSet Method
ArcGIS Developer Help

IValidation.ValidateSet Method

Validates the set.

[Visual Basic .NET]
Public Function ValidateSet ( _
    ByVal Selection As ISet _
) As ISet
public ISet ValidateSet (
    ISet Selection
HRESULT ValidateSet(
  ISet* Selection
Selection [in]

Selection is a parameter of type ISet*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


ValidateSet function takes the ISet parameter and validates that set based on the rules associated with the object class. It returns a ISet object containing all of the invalid features that it found in that set.

See Also

IValidation Interface