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


IGPParameter.Value Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPParameter.Value Property

The current value object of the geoprocessing parameter.

[Visual Basic .NET]
Public ReadOnly Property Value As IGPValue
[C#]
public IGPValue Value {get;}
[C++]
HRESULT get_Value(
  IGPValue** Value
);
[C++]

Parameters Value [out, retval]
Value is a parameter of type IGPValue

Product Availability

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

Remarks

The Value property defines the value of a parameter's data type. For example, if the data type is FeatureClass, then the parameter's default value is FeatureClass. Values are the actual data inputs to a geoprocessing tool, containing scalars or the path to the data on disk. For the complete list of Value objects, refer to IGPValue in the ArcGIS Develop Help.

See Also

IGPParameter Interface

.NET Samples

Calculate area geoprocessing function tool (Code Files: CalculateAreaFunction)

.NET Related Topics

Building a custom geoprocessing function tool | Running a geoprocessing tool using background geoprocessing