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


IRule.ID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRule Interface > IRule.ID Property
ArcGIS Developer Help

IRule.ID Property

The ID of the validation rule.

[Visual Basic .NET]
Public Property ID As Integer
[C#]
public int ID {get; set;}
[C++]
HRESULT get_ID(
  System.Int32* ID
);
[C++]
HRESULT put_ID(
  long ID
);
[C++]
Parameters
ID [out, retval]

ID is a parameter of type long* ID [in]
ID is a parameter of type long

Product Availability

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

Description

ID property returns the id for the given rule.

Remarks

This property will always return -1 for rules in geodatabases created in versions of ArcGIS later than 9.3.1.

See Also

IRule Interface