DataObject.GetText Method ()

 

Returns a string that contains the UnicodeText data in this data object.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public string GetText()

Return Value

Type: System.String

A string that contains the UnicodeText data, or an empty string if no UnicodeText data is available.

The UnicodeText data format denotes 16-bit character encoded Unicode, also referred to as UTF-16, and USC-2.

.NET Framework
Available since 3.0
Return to top
Show: