Browser.SendString(Context, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用 Intent 和 Intent#ACTION_SEND 文本/纯文本的 mime 类型发送给定字符串。
[Android.Runtime.Register("sendString", "(Landroid/content/Context;Ljava/lang/String;)V", "")]
public static void SendString(Android.Content.Context? context, string? string);
[<Android.Runtime.Register("sendString", "(Landroid/content/Context;Ljava/lang/String;)V", "")>]
static member SendString : Android.Content.Context * string -> unit
参数
- context
- Context
用于启动活动的上下文
- string
- String
要发送的字符串
- 特性
注解
使用 Intent 和 Intent#ACTION_SEND 文本/纯文本的 mime 类型发送给定字符串。 字符串被 Intent#EXTRA_TEXT放入 。
Java文档android.provider.Browser.sendString(android.content.Context, java.lang.String)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。