This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.CreateParameterValue Method (ArcObjects .NET 10.4 SDK) |
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,
IGPValue** ppValue
);
[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 ppValue [out, retval]
ppValue is a parameter of type IGPValue