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


IGPParameter.Domain Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPParameter.Domain Property

Domain of the geoprocessing parameter.

[Visual Basic .NET]
Public ReadOnly Property Domain As IGPDomain
[C#]
public IGPDomain Domain {get;}
[C++]
HRESULT get_Domain(
  IGPDomain** Domain
);
[C++]

Parameters Domain [out, retval]
Domain is a parameter of type IGPDomain

Product Availability

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

Remarks

The Domain property is used to set, limit, or filter valid values for a parameter. An example of the domain (RangeDomain) for a value object is limiting an integer to the range of 1 - 100. For a complete list of valid domain objects, refer to IGPDomain in the ArcGIS Developer Help.

See Also

IGPParameter Interface