# SimpleArraySurfacePointer 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 SimpleArraySurfacePointer : IDisposable
```

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

## Constructors

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

## Finalizer

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

## Methods

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