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


IGPValue.GetAsText Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPValue.GetAsText Method

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

Product Availability

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

Remarks

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.

See Also

IGPValue Interface