System::CastEnumerableTo method
Contents
[
Hide
]System::CastEnumerableTo(const From&) method
Performs the explicit casting of elements of the specified enumerable object to different type.
template<class To,class From> std::enable_if<!System::detail::has_method_get_Count<From>::value, Collections::Generic::ListPtr<To>>::type System::CastEnumerableTo(const From &enumerable)
Parameter | Description |
---|---|
To | The type to statically cast the elements of the enumerable object to |
From | The type of enumerable object |
Parameter | Type | Description |
---|---|---|
enumerable | const From& | Enumerable object containing the elements to cast |
ReturnValue
A pointer to a new collection containing elements of type To equivalent to the elements of enumerable
See Also
- Class ListPtr
- Namespace System
- Library Aspose.TeX for C++
System::CastEnumerableTo(const From&) method
Performs the explicit casting of elements of the specified enumerable object to different type.
template<class To,class From> std::enable_if<System::detail::has_method_get_Count<From>::value, Collections::Generic::ListPtr<To>>::type System::CastEnumerableTo(const From &enumerable)
Parameter | Description |
---|---|
To | The type to statically cast the elements of the enumerable object to |
From | The type of enumerable object |
Parameter | Type | Description |
---|---|---|
enumerable | const From& | is inheritor of Enumerable object with defined get_Count method and containing the elements to cast |
ReturnValue
A pointer to a new collection containing elements of type To equivalent to the elements of enumerable
See Also
- Class ListPtr
- Namespace System
- Library Aspose.TeX for C++