> For the complete documentation index, see [llms.txt](https://web-api.iceteagroup.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://web-api.iceteagroup.com/ppj.web.49/com/ppj.runtime.com.salsafearray.md).

# SalSafeArray

Namespace: **PPJ.Runtime.Com**

Assembly: **PPJ.Web.49** (4.9.0.0)

SalSafeArray implementation.

{% tabs %}
{% tab title="C#" %}

```csharp
public class SalSafeArray : SalFunctionalClass
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class SalSafeArray
    Inherits SalFunctionalClass
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/qoQXnPICsjBVNBSqpOj9)SalSafeArray()

Constructs a new empty SalSafeArray This class cannot be used as second-base class.

### ![](/files/qoQXnPICsjBVNBSqpOj9)SalSafeArray(array)

Constructs a new SalSafeArray with the wrapped array.

| Name      | Type                                                              | Description |
| --------- | ----------------------------------------------------------------- | ----------- |
| **array** | [Array](https://docs.microsoft.com/en-us/dotnet/api/system.array) |             |

## Properties

### ![](/files/qoQXnPICsjBVNBSqpOj9)Value

[Array](https://docs.microsoft.com/en-us/dotnet/api/system.array): Returns/Sets the wrapped object.

## Methods

### ![](/files/qoQXnPICsjBVNBSqpOj9)Create(vt, elements, lowerBound)

Creates a new SafeArray.

| Parameter      | Type                                                                                     | Description |
| -------------- | ---------------------------------------------------------------------------------------- | ----------- |
| **vt**         | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **elements**   | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **lowerBound** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)Create2D(vt, elements1, elements2, lowerBound1, lowerBound2)

Creates a new safearray.

| Parameter       | Type                                                                                     | Description |
| --------------- | ---------------------------------------------------------------------------------------- | ----------- |
| **vt**          | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **elements1**   | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **elements2**   | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **lowerBound1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **lowerBound2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)CreateMD(vt, elements, lowerBounds)

Creates a new multidimensional safearray.

| Parameter       | Type                                                                                     | Description |
| --------------- | ---------------------------------------------------------------------------------------- | ----------- |
| **vt**          | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **elements**    | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                  |             |
| **lowerBounds** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                  |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetBoolean(value, index)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalBoolean&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                           |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetBoolean2D(value, index1, index2)

| Parameter  | Type                                                                                     | Description |
| ---------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalBoolean&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                           |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetBooleanMD(value, indices)

| Parameter   | Type                                                                    | Description |
| ----------- | ----------------------------------------------------------------------- | ----------- |
| **value**   | [SalBoolean&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)          |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetDate(value, index)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalDateTime&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                          |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetDate2D(date, index1, index2)

| Parameter  | Type                                                                                     | Description |
| ---------- | ---------------------------------------------------------------------------------------- | ----------- |
| **date**   | [SalDateTime&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                          |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetDateMD(date, indices)

| Parameter   | Type                                                                    | Description |
| ----------- | ----------------------------------------------------------------------- | ----------- |
| **date**    | [SalDateTime&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)         |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetLowerBound()

Returns the lower bound.

**Returns:** [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetLowerBound2D(nDim)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **nDim**  | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetLowerBoundMD(nDim)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **nDim**  | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetNumber(value, index)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalNumber&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                            |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetNumber2D(value, index1, index2)

| Parameter  | Type                                                                                     | Description |
| ---------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalNumber&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                            |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetNumberMD(num, indices)

| Parameter   | Type                                                                    | Description |
| ----------- | ----------------------------------------------------------------------- | ----------- |
| **num**     | [SalNumber&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)           |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetObject(value, index)

Returns a COM object item from the safearray.

| Parameter | Type                                                                                       | Description |
| --------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value** | [SalObject](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salobject.md) |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetObject2D(value, index1, index2)

| Parameter  | Type                                                                                       | Description |
| ---------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value**  | [SalObject](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salobject.md) |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetObjectMD(value, indices)

| Parameter   | Type                                                                                       | Description |
| ----------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value**   | [SalObject](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salobject.md) |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                    |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetString(value, index)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalString&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                            |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetString2D(value, index1, index2)

| Parameter  | Type                                                                                     | Description |
| ---------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalString&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                            |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetStringMD(value, indices)

| Parameter   | Type                                                                    | Description |
| ----------- | ----------------------------------------------------------------------- | ----------- |
| **value**   | [SalString&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)           |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetUpperBound()

Returns the upper bound.

**Returns:** [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetUpperBound2D(nDim)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **nDim**  | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetUpperBoundMD(nDim)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **nDim**  | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetVariant(value, index)

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalVariant&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                           |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetVariant2D(value, index1, index2)

| Parameter  | Type                                                                                     | Description |
| ---------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalVariant&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                           |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)GetVariantMD(value, indices)

| Parameter   | Type                                                                    | Description |
| ----------- | ----------------------------------------------------------------------- | ----------- |
| **value**   | [SalVariant&](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)          |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutBoolean(value, index)

Stores a boolean item in the safearray.

| Parameter | Type                                                                                       | Description |
| --------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value** | [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md) |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutBoolean2D(value, index1, index2)

| Parameter  | Type                                                                                       | Description |
| ---------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value**  | [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md) |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutBooleanMD(value, indices)

Multidimensional safe array

| Parameter   | Type                                                                                       | Description |
| ----------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value**   | [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md) |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                    |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutDate(value, index)

Stores a DateTime item in the safearray.

| Parameter | Type                                                                                         | Description |
| --------- | -------------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalDateTime](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.saldatetime.md) |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)     |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutDate2D(value, index1, index2)

| Parameter  | Type                                                                                         | Description |
| ---------- | -------------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalDateTime](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.saldatetime.md) |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)     |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)     |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutDateMD(value, indices)

Multidimensional safe array

| Parameter   | Type                                                                                         | Description |
| ----------- | -------------------------------------------------------------------------------------------- | ----------- |
| **value**   | [SalDateTime](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.saldatetime.md) |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                      |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutNumber(value, index)

Stores a numeric item in the safearray.

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutNumber2D(value, index1, index2)

| Parameter  | Type                                                                                     | Description |
| ---------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutNumberMD(value, indices)

Multidimensional safe array

| Parameter   | Type                                                                                     | Description |
| ----------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**   | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                  |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutObject(value, index)

Stores a com object item in the safearray.

| Parameter | Type                                                                                       | Description |
| --------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value** | [SalObject](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salobject.md) |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutObject2D(value, index1, index2)

| Parameter  | Type                                                                                       | Description |
| ---------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value**  | [SalObject](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salobject.md) |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)   |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutObjectMD(value, indices)

Multidimensional safe array

| Parameter   | Type                                                                                       | Description |
| ----------- | ------------------------------------------------------------------------------------------ | ----------- |
| **value**   | [SalObject](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salobject.md) |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                    |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutString(value, index)

Stores a string item in the safearray.

| Parameter | Type                                                                                     | Description |
| --------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalString](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salstring.md) |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutString2D(value, index1, index2)

| Parameter  | Type                                                                                     | Description |
| ---------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalString](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salstring.md) |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md) |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutStringMD(value, indices)

Multidimensional safe array

| Parameter   | Type                                                                                     | Description |
| ----------- | ---------------------------------------------------------------------------------------- | ----------- |
| **value**   | [SalString](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salstring.md) |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                  |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutVariant(value, index)

Stores a variant object item in the safearray.

| Parameter | Type                                                                                         | Description |
| --------- | -------------------------------------------------------------------------------------------- | ----------- |
| **value** | [SalVariant](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salvariant.md) |             |
| **index** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)     |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutVariant2D(value, index1, index2)

| Parameter  | Type                                                                                         | Description |
| ---------- | -------------------------------------------------------------------------------------------- | ----------- |
| **value**  | [SalVariant](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salvariant.md) |             |
| **index1** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)     |             |
| **index2** | [SalNumber](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salnumber.md)     |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).

### ![](/files/qoQXnPICsjBVNBSqpOj9)PutVariantMD(value, indices)

Multidimensional safe array

| Parameter   | Type                                                                                         | Description |
| ----------- | -------------------------------------------------------------------------------------------- | ----------- |
| **value**   | [SalVariant](https://docs.wisej.com/extensions/ppj.web.49/com/ppj.runtime.com.salvariant.md) |             |
| **indices** | [SalArray\<SalNumber>](/ppj.web.49/com/ppj.runtime.com.salsafearray.md)                      |             |

**Returns:** [SalBoolean](https://docs.wisej.com/extensions/ppj.web.49/types/ppj.runtime.salboolean.md).
