ClipboardManager.TextFormatted Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
This member is deprecated. -or- This member is deprecated.
[System.Obsolete("deprecated")]
public override Java.Lang.ICharSequence? TextFormatted { [Android.Runtime.Register("getText", "()Ljava/lang/CharSequence;", "GetGetTextHandler")] get; [Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)V", "GetSetText_Ljava_lang_CharSequence_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getText", "()Ljava/lang/CharSequence;", "GetGetTextHandler")>]
[<set: Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)V", "GetSetText_Ljava_lang_CharSequence_Handler")>]
member this.TextFormatted : Java.Lang.ICharSequence with get, set
Property Value
This method is deprecated. Use getPrimaryClip() instead. This retrieves the primary clip and tries to coerce it to a string. Returns the text on the clipboard. It will eventually be possible to store types other than text too, in which case this will return null if the type cannot be coerced to text.
- Attributes
Remarks
Property getter documentation:
This member is deprecated. Use #getPrimaryClip() instead. This retrieves the primary clip and tries to coerce it to a string.
Java documentation for android.content.ClipboardManager.getText().
Property setter documentation:
This member is deprecated. Use #setPrimaryClip(ClipData) instead. This creates a ClippedItem holding the given text and sets it as the primary clip. It has no label or icon.
Java documentation for android.content.ClipboardManager.setText(java.lang.CharSequence).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.