ClipData.NewHtmlText Method
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.
Overloads
NewHtmlText(ICharSequence, ICharSequence, String) |
Create a new ClipData holding data of the type
|
NewHtmlText(String, String, String) |
Create a new ClipData holding data of the type
|
NewHtmlText(ICharSequence, ICharSequence, String)
Create a new ClipData holding data of the type
ClipDescription#MIMETYPE_TEXT_HTML
.
[Android.Runtime.Register("newHtmlText", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;)Landroid/content/ClipData;", "")]
public static Android.Content.ClipData? NewHtmlText (Java.Lang.ICharSequence? label, Java.Lang.ICharSequence? text, string? htmlText);
[<Android.Runtime.Register("newHtmlText", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;)Landroid/content/ClipData;", "")>]
static member NewHtmlText : Java.Lang.ICharSequence * Java.Lang.ICharSequence * string -> Android.Content.ClipData
Parameters
- label
- ICharSequence
User-visible label for the clip data.
- text
- ICharSequence
The text of clip as plain text, for receivers that don't handle HTML. This is required.
- htmlText
- String
The actual HTML text in the clip.
Returns
Returns a new ClipData containing the specified data.
- Attributes
Remarks
Create a new ClipData holding data of the type ClipDescription#MIMETYPE_TEXT_HTML
.
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.
Applies to
NewHtmlText(String, String, String)
Create a new ClipData holding data of the type
ClipDescription#MIMETYPE_TEXT_HTML
.
public static Android.Content.ClipData? NewHtmlText (string? label, string? text, string? htmlText);
static member NewHtmlText : string * string * string -> Android.Content.ClipData
Parameters
- label
- String
User-visible label for the clip data.
- text
- String
The text of clip as plain text, for receivers that don't handle HTML. This is required.
- htmlText
- String
The actual HTML text in the clip.
Returns
Returns a new ClipData containing the specified data.
Remarks
Create a new ClipData holding data of the type ClipDescription#MIMETYPE_TEXT_HTML
.
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.