## EnumValuesBase::GetValues method


Returns an array containing all values of the specified enumeration type.

```cpp
static ArrayPtr<int64_t> System::EnumValuesBase::GetValues(const TypeInfo &type)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | const TypeInfo\& | The [TypeInfo](../../typeinfo/) object representing the type of the enumeration whose values to return |

### ReturnValue

An array containing values of all enumeration constants of the enumeration type specified by **type**.

## See Also

* Typedef [ArrayPtr](../../arrayptr/)
* Class [TypeInfo](../../typeinfo/)
* Class [EnumValuesBase](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
