System::Linq::Enumerable::Repeat method
Enumerable::Repeat method
Generates a sequence that contains one repeated value.
template<typename TResult> static SharedPtr<Collections::Generic::IEnumerable<TResult>> System::Linq::Enumerable::Repeat(const TResult &element, int32_t count)
| Parameter | Description |
|---|---|
| T | The type of the value to be repeated in the result sequence. |
| Parameter | Type | Description |
|---|---|---|
| element | const TResult& | The value to be repeated. |
| count | int32_t | The number of times to repeat the value in the generated sequence. |
ReturnValue
An System::Collections::Generic::IEnumerable that contains a repeated value.
See Also
- Typedef SharedPtr
- Class IEnumerable
- Class Enumerable
- Namespace System::Linq
- Library Aspose.PDF for C++