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 > IGPValue Interface > IGPValue.GetAsText Method (ArcObjects .NET 10.5 SDK) |
Provides the value of the value object.
[Visual Basic .NET] Public Function GetAsText ( _ ) As String
[C#] public string GetAsText ( );
[C++]
HRESULT GetAsText(
BSTR* text
);
[C++]
Parameters text [out, retval] text is a parameter of type BSTR
The GetAsText method returns this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string for the scalar value.