JsonHelperEncodeValue Method (Object, Boolean) |
编码一个值,仅支持基础数据类型
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static string EncodeValue(
Object value,
bool hex = true
)
Public Shared Function EncodeValue (
value As Object,
Optional hex As Boolean = true
) As String
public:
static String^ EncodeValue(
Object^ value,
bool hex = true
)
static member EncodeValue :
value : Object *
?hex : bool
(* Defaults:
let _hex = defaultArg hex true
*)
-> string
Parameters
- value
- Type: SystemObject
[Missing <param name="value"/> documentation for "M:Adf.JsonHelper.EncodeValue(System.Object,System.Boolean)"]
- hex (Optional)
- Type: SystemBoolean
[Missing <param name="hex"/> documentation for "M:Adf.JsonHelper.EncodeValue(System.Object,System.Boolean)"]
Return Value
Type:
String[Missing <returns> documentation for "M:Adf.JsonHelper.EncodeValue(System.Object,System.Boolean)"]
See Also