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


IValidation.ValidateSet Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  ISet** invalidSet
);
[C++]

Parameters Selection [in]
Selection is a parameter of type ISet invalidSet [out, retval]
invalidSet 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