## MessageObjectProperty.ToList&lt;T&gt; method

Converts the value of the property to a list of values.

```csharp
public IList<T> ToList<T>()
```

### Return Value

IList implementation, if type can't be converted to IList returns empty list implementation.

## Remarks

This method doesn't provide automatic conversion of the data types, e.g. if [`Value`](../value/) property is of type default value will be returned.

### See Also

* class [MessageObjectProperty](../)
* namespace [Aspose.Email.Mapi.Msg](../../messageobjectproperty/)
* assembly [Aspose.Email](../../../)


