## Stack::data() method


Internal data structure accessor.

```cpp
stack_t & System::Collections::Generic::Stack<T>::data()
```


### ReturnValue

Reference to internal data structure.

## See Also

* Typedef [stack_t](../stack_t/)
* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
## Stack::data() const method


Internal data structure accessor.

```cpp
const stack_t & System::Collections::Generic::Stack<T>::data() const
```


### ReturnValue

Const reference to internal data structure.

## See Also

* Typedef [stack_t](../stack_t/)
* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
