# SalTableColumnCollection

Namespace: **PPJ.Runtime.Windows**

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

Contains a collection of all the columns in a SalFormTableWindow form or SalTableWindow control.

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

```csharp
public class SalTableColumnCollection : IList, ICollection, IEnumerable, IEnumerable<SalTableColumn>
```

{% endtab %}

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

```visual-basic
Public Class SalTableColumnCollection
    Inherits IList
    Implements ICollection, IEnumerable, IEnumerable(Of SalTableColumn)
```

{% endtab %}
{% endtabs %}

## Properties

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Count

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): get number of columns

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Item(index)

[SalTableColumn](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablecolumncollection.md): this

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Item(name)

[SalTableColumn](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablecolumncollection.md): this

## Methods

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Clear()

remove columns

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Contains(column)

contains column

| Parameter  | Type                                                                                                      | Description |
| ---------- | --------------------------------------------------------------------------------------------------------- | ----------- |
| **column** | [SalTableColumn](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablecolumncollection.md) |             |

**Returns:** [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Contains(name)

contains column by name

| Parameter | Type                                                                | Description |
| --------- | ------------------------------------------------------------------- | ----------- |
| **name**  | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) |             |

**Returns:** [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)CopyTo(array, index)

copy to

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

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetEnumerator()

get enumerator

**Returns:** [IEnumerator](https://docs.microsoft.com/en-us/dotnet/api/system.collections.ienumerator).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)IndexOf(column)

index of column

| Parameter  | Type                                                                                                      | Description |
| ---------- | --------------------------------------------------------------------------------------------------------- | ----------- |
| **column** | [SalTableColumn](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablecolumncollection.md) |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)IndexOf(name)

index of column by name

| Parameter | Type                                                                | Description |
| --------- | ------------------------------------------------------------------- | ----------- |
| **name**  | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desktop-api.iceteagroup.com/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablecolumncollection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
