DataObject::GetText Method ()
.NET Framework (current version)
Retrieves text data from the data object in the UnicodeText format.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Return Value
Type: System::String^The text data in the data object or String::Empty if the data object does not contain data in the UnicodeText format.
Use the ContainsText method to determine whether the data object contains text data before retrieving it with this method.
Use the SetText method to add text data to the data object.
.NET Framework
Available since 2.0
Available since 2.0
Show: