# SimpleArrayExtrusionPointer class

Namespace: [Rhino.Runtime.InteropWrappers](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.runtime.interopwrappers.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class SimpleArrayExtrusionPointer : IDisposable
```

Wrapper for a C++ ON_SimpleArray<ON_Extrusion*> or ON_SimpleArray<constant ON_Extrusion*> If you are not writing C++ code then this class is not for you.

## Constructors

- [SimpleArrayExtrusionPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/ctor.md): Initializes a new [SimpleArrayExtrusionPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer.md) instance.

## Finalizer

- [~SimpleArrayExtrusionPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/count.md): Gets the amount of Extrusions in this array.

## Methods

- [Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/add.md): Adds a extrusion to the list.
- [ConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/constpointer.md): Gets the constant (immutable) pointer of this array.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [NonConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/nonconstpointer.md): Gets the non-constant pointer (for modification) of this array.
- [ToNonConstArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayextrusionpointer/tononconstarray.md): Copies the unmanaged array to a managed counterpart.
