MessageObjectPropertyToListT Method

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

Namespace:  Aspose.Email.Mapi.Msg
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public IList<T> ToList<T>()

Type Parameters

T

Return Value

Type: IListT
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 property is of type default value will be returned.
See Also