语言

HttpProtocolParams.GetContentCharset(IHttpParams) 方法

定义

返回在未显式指定字符集时用于写入内容正文的默认字符集。

[Android.Runtime.Register("getContentCharset", "(Lorg/apache/http/params/HttpParams;)Ljava/lang/String;", "")]
public static string? GetContentCharset(Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("getContentCharset", "(Lorg/apache/http/params/HttpParams;)Ljava/lang/String;", "")>]
static member GetContentCharset : Org.Apache.Http.Params.IHttpParams -> string

参数

params
IHttpParams

要读取的参数集合。 不得为 null。

返回

如果未设置任何值,则配置的内容字符集名称或 ISO-8859-1。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于