This document is archived and information here might be outdated. Recommended version. |
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
);
[C++] Parameters text [in]
text is a parameter of type BSTR
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.