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
[C#]
public ISet ValidateSet (
    ISet Selection
);
[C++]
HRESULT ValidateSet(
  ISet* Selection
);
[C++]
Parameters
Selection [in]

Selection is a parameter of type ISet*

Product Availability

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

Description

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