This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPDataType Interface > IGPDataType.CreateValue Method (ArcObjects .NET 10.5 SDK) |
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
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.