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


IGPUtilities.CreateParameterValue 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.CreateParameterValue Method
ArcGIS Developer Help

IGPUtilities.CreateParameterValue Method

Creates a geoprocessing value object of the given data type from the given string.

[Visual Basic .NET]
Public Function CreateParameterValue ( _
    ByVal text As String, _
    ByVal pDataType As IGPDataType, _
    ByVal Direction As esriGPParameterDirection _
) As IGPValue
[C#]
public IGPValue CreateParameterValue (
    string text,
    IGPDataType pDataType,
    esriGPParameterDirection Direction
);
[C++]
HRESULT CreateParameterValue(
  BSTR text,
  IGPDataType* pDataType,
  esriGPParameterDirection Direction
);
[C++]
Parameters
text [in]

text is a parameter of type BSTR pDataType [in]
pDataType is a parameter of type IGPDataType* Direction [in]
Direction is a parameter of type esriGPParameterDirection

Product Availability

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

See Also

IGPUtilities Interface