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


IGPDataType.CreateValue Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPDataType.CreateValue Method

Creates a geoprocessing value object from the given string.

[Visual Basic .NET]
Public Function CreateValue ( _
    ByVal text As String _
) As IGPValue
[C#]
public IGPValue CreateValue (
    string text
);
[C++]
HRESULT CreateValue(
  BSTR text,
  IGPValue** Value
);
[C++]

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

Product Availability

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

Remarks

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