System::CastEnumeratorTo method
System::CastEnumeratorTo method
Performs a type cast of the enumerator by explicitly casting the type of each element over which the source enumerator iterates.
template<class From,class To> System::SharedPtr<System::Collections::Generic::IEnumerator<To>> System::CastEnumeratorTo(const System::SharedPtr<System::Collections::Generic::IEnumerator<From>> &enumerator)
| Parameter | Description |
|---|---|
| From | Type argument of enumerator to cast |
| To | Type argument of resulting enumerator |
| Parameter | Type | Description |
|---|---|---|
| enumerator | const System::SharedPtr<System::Collections::Generic::IEnumerator<From>>& | Enumerator to cast |
See Also
- Typedef SharedPtr
- Class IEnumerator
- Namespace System
- Library Aspose.TeX for C++