ExpandoObjectHelpersToExpando Method |
Extension method that turns a dictionary of string and object to an ExpandoObject
Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static ExpandoObject ToExpando(
this IDictionary<string, Object> dictionary
)
<ExtensionAttribute>
Public Shared Function ToExpando (
dictionary As IDictionary(Of String, Object)
) As ExpandoObject
public:
[ExtensionAttribute]
static ExpandoObject^ ToExpando(
IDictionary<String^, Object^>^ dictionary
)
[<ExtensionAttribute>]
static member ToExpando :
dictionary : IDictionary<string, Object> -> ExpandoObject
Parameters
- dictionary
- Type: System.Collections.GenericIDictionaryString, Object
Return Value
Type:
ExpandoObjectUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDictionaryString,
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