Provides the value of the value object with the given string value.
[Visual Basic 6.0] Function SetAsText(
ByVal text As String _
) As IGPMessage
[Visual Basic .NET] Public Function SetAsText ( _ ByVal text As String _ ) As IGPMessage
[C#] public IGPMessage SetAsText ( string text );
[Java] public IGPMessage setAsText ( String text ) throws IOException, AutomationException
[C++] HRESULT SetAsText( BSTR text, IGPMessage** Message );
Parameters
text [in]
text is a parameter of type BSTR
Message [out, retval]
Message is a parameter of type IGPMessage
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.