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

IGPDataType.CreateValue Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPDataType Interface > IGPDataType.CreateValue Method
ArcGIS Developer Help

IGPDataType.CreateValue Method

Creates a geoprocessing value object from the given string.

[Visual Basic .NET]
Public Function CreateValue ( _
    ByVal text As String _
) As IGPValue
public IGPValue CreateValue (
    string text
HRESULT CreateValue(
  BSTR text
text [in]

text is a parameter of type BSTR

Product Availability

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


The CreateValue method creates the default Value object, which can subsequently be used in the parameter array that is passed to the Validate and the Execute methods of IGPFunction.

See Also

IGPDataType Interface