[]
Converts the public properties of the specified object to a NameValueCollection.
public static NameValueCollection ToNameValueCollection(this object obj)
| Type | Name | Description |
|---|---|---|
| object | obj | The object whose properties to convert. |
| Type | Description |
|---|---|
| NameValueCollection | A NameValueCollection containing the property names and their string values. |