BasicHeaderValueFormatter.DoFormatValue 方法

定义

实际上,设置名称值对的值的格式。

[Android.Runtime.Register("doFormatValue", "(Lorg/apache/http/util/CharArrayBuffer;Ljava/lang/String;Z)V", "GetDoFormatValue_Lorg_apache_http_util_CharArrayBuffer_Ljava_lang_String_ZHandler")]
protected virtual void DoFormatValue(Org.Apache.Http.Util.CharArrayBuffer? buffer, string? value, bool quote);
[<Android.Runtime.Register("doFormatValue", "(Lorg/apache/http/util/CharArrayBuffer;Ljava/lang/String;Z)V", "GetDoFormatValue_Lorg_apache_http_util_CharArrayBuffer_Ljava_lang_String_ZHandler")>]
abstract member DoFormatValue : Org.Apache.Http.Util.CharArrayBuffer * string * bool -> unit
override this.DoFormatValue : Org.Apache.Http.Util.CharArrayBuffer * string * bool -> unit

参数

buffer
CharArrayBuffer

要追加到的缓冲区,从不 null

value
String

要追加的值,从不 null

quote
Boolean

true 如果始终使用引号进行格式设置, false 则仅在必要时使用引号

属性

注解

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

适用于