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


IGPUtilities.GenerateDefaultOutputValue Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.GenerateDefaultOutputValue Method
ArcGIS Developer Help

IGPUtilities.GenerateDefaultOutputValue Method

Generates the default output value and sets its path to an unique name.

[Visual Basic .NET]
Public Function GenerateDefaultOutputValue ( _
    ByVal pEnvMgr As IGPEnvironmentManager, _
    ByVal functionname As String, _
    ByVal pOutputParam As IGPParameter, _
    ByVal pInputValue As IGPValue, _
    ByVal extension As String, _
    ByVal outputFileBaseLimit As Integer _
) As IGPValue
[C#]
public IGPValue GenerateDefaultOutputValue (
    IGPEnvironmentManager pEnvMgr,
    string functionname,
    IGPParameter pOutputParam,
    IGPValue pInputValue,
    string extension,
    int outputFileBaseLimit
);
[C++]
HRESULT GenerateDefaultOutputValue(
  IGPEnvironmentManager* pEnvMgr,
  BSTR functionname,
  IGPParameter* pOutputParam,
  IGPValue* pInputValue,
  BSTR extension,
  long outputFileBaseLimit
);
[C++]
Parameters
pEnvMgr [in]

pEnvMgr is a parameter of type IGPEnvironmentManager* functionname [in]
functionname is a parameter of type BSTR pOutputParam [in]
pOutputParam is a parameter of type IGPParameter* pInputValue [in]
pInputValue is a parameter of type IGPValue* extension [in]
extension is a parameter of type BSTR outputFileBaseLimit [in]
outputFileBaseLimit is a parameter of type long

Product Availability

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

Remarks

The GenerateDefaultOutputValue method is called during validation inside IGPFunction_Validate to return an output path as a value object [IGPValue].

See Also

IGPUtilities Interface