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


IRule.ID Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  long* 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