[This is preliminary documentation and is subject to change.]

Copies all readable properties from an object to a dictionary.

Namespace: Simple.Web.MediaTypeHandlingSimple.Web.MediaTypeHandlingSimple::Web::MediaTypeHandling
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static IDictionary<stringobject> ToDictionary(

this object obj

)

VB

Public Shared Function ToDictionary( _

obj As Object _

) As IDictionary(Of StringObject)

C++

public:

static IDictionary<String^, Object^>^ ToDictionary(

Object^ obj

)

Parameters

Return Value

Type: System.Collections.Generic.IDictionary<string, object>System.Collections.Generic.IDictionary(Of String, Object)System.Collections.Generic::IDictionary<String^, Object^>
A dictionary representation of the object's properties.

See Also

ObjectToDictionaryObjectToDictionaryObjectToDictionary Class
Simple.Web.MediaTypeHandlingSimple.Web.MediaTypeHandlingSimple::Web::MediaTypeHandling Namespace