ObjectConverterToDictionary Method |
将目标对象属性转换为键值列表
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static Dictionary<string, Object> ToDictionary(
Object targetObject,
bool recursion = true
)
Public Shared Function ToDictionary (
targetObject As Object,
Optional recursion As Boolean = true
) As Dictionary(Of String, Object)
public:
static Dictionary<String^, Object^>^ ToDictionary(
Object^ targetObject,
bool recursion = true
)
static member ToDictionary :
targetObject : Object *
?recursion : bool
(* Defaults:
let _recursion = defaultArg recursion true
*)
-> Dictionary<string, Object>
Parameters
- targetObject
- Type: SystemObject
[Missing <param name="targetObject"/> documentation for "M:Adf.ObjectConverter.ToDictionary(System.Object,System.Boolean)"]
- recursion (Optional)
- Type: SystemBoolean
[Missing <param name="recursion"/> documentation for "M:Adf.ObjectConverter.ToDictionary(System.Object,System.Boolean)"]
Return Value
Type:
DictionaryString,
Object[Missing <returns> documentation for "M:Adf.ObjectConverter.ToDictionary(System.Object,System.Boolean)"]
See Also