|
ObjectUtilityToDictionaryT Method (Object) |
Converts the object properties to a dictionary
Namespace: DrawerBackup.Native.RuntimeAssembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntaxpublic static IDictionary<string, T> ToDictionary<T>(
this Object source
)
<ExtensionAttribute>
Public Shared Function ToDictionary(Of T) (
source As Object
) As IDictionary(Of String, T)
public:
[ExtensionAttribute]
generic<typename T>
static IDictionary<String^, T>^ ToDictionary(
Object^ source
)
[<ExtensionAttribute>]
static member ToDictionary :
source : Object -> IDictionary<string, 'T>
Parameters
- source
- Type: SystemObject
Type Parameters
- T
Return Value
Type:
IDictionaryString,
TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also