Provides the value of the value object.
[Visual Basic 6.0] Function GetAsText As String
[Visual Basic .NET] Public Function GetAsText ( _ ) As String
[C#] public string GetAsText ( );
[Java] public String getAsText ( ) throws IOException, AutomationException
[C++]
HRESULT GetAsText(
BSTR* text
);
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.