ArcObjects Library Reference (GeoDatabase)  

IGPValue.SetAsText Method

Provides the value of the value object with the given string value.

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

Parameters

text [in]   text is a parameter of type BSTR Message [out, retval]

  Message is a parameter of type IGPMessage

Product Availability

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

Remarks

The SetAsText method sets the value of this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string representing the scalar value.

See Also

IGPValue Interface