TextLinks.TextLinkSpan 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| TextLinks.TextLinkSpan(TextLinks+TextLink) |
创建保留指定文本链接的可单击范围。 |
| TextLinks.TextLinkSpan(IntPtr, JniHandleOwnership) |
创建表示现有Java对象的托管实例。 |
TextLinks.TextLinkSpan(TextLinks+TextLink)
创建保留指定文本链接的可单击范围。
[Android.Runtime.Register(".ctor", "(Landroid/view/textclassifier/TextLinks$TextLink;)V", "", ApiSince=28)]
public TextLinkSpan(Android.Views.TextClassifiers.TextLinks.TextLink textLink);
[<Android.Runtime.Register(".ctor", "(Landroid/view/textclassifier/TextLinks$TextLink;)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextLinks.TextLinkSpan : Android.Views.TextClassifiers.TextLinks.TextLink -> Android.Views.TextClassifiers.TextLinks.TextLinkSpan
参数
- textLink
- TextLinks.TextLink
要与此可单击范围关联的文本链接。
- 特性
注解
TextLink 返回提供给此构造函数的链接。 创建范围不会将其附加到文本。
适用于
TextLinks.TextLinkSpan(IntPtr, JniHandleOwnership)
创建表示现有Java对象的托管实例。
protected TextLinkSpan(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.TextClassifiers.TextLinks.TextLinkSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.TextClassifiers.TextLinks.TextLinkSpan
参数
- javaReference
-
IntPtr
nativeint
对Java对象的 JNI 引用。
- transfer
- JniHandleOwnership
指定运行时如何处理 JNI 引用,包括其发布和对等注册。
注解
运行时调用此构造函数来创建现有Java对象的托管表示形式。