Skip to content

ERPConnect.RFCTableColumnCollection

Namespace: ERPConnect
Assembly: ERPConnectStandard20.dll

Represents a collection of RFCTableColumn objects for a RFCTable or a RFCStructure.

public sealed class RFCTableColumnCollection : IList<RFCTableColumn>, ICollection<RFCTableColumn>, IEnumerable<RFCTableColumn>, IEnumerable

Inheritance

objectRFCTableColumnCollection

Implements

IList<RFCTableColumn>, ICollection<RFCTableColumn>, IEnumerable<RFCTableColumn>, IEnumerable

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

RFCTableColumnCollection()

public RFCTableColumnCollection()

Properties

ABAPStructureName

The name of the ABAP structure

public string ABAPStructureName { get; set; }

Property Value

string

Count

public int Count { get; }

Property Value

int

Includes

public IList<IncludeStructure> Includes { get; }

Property Value

IList<IncludeStructure>

RowLength

Gets or sets the number bytes required for a table row / structure based on these columns

public int RowLength { get; set; }

Property Value

int

this[int]

returns a single RFCTableColumn object from the collection

public RFCTableColumn this[int index] { get; set; }

Property Value

RFCTableColumn

this[string]

returns a single RFCTableColumn object from the collection

public RFCTableColumn this[string columnName] { get; set; }

Property Value

RFCTableColumn

Methods

Add(RFCTableColumn)

Adds a new RFCTableColumn object to the collection.

public void Add(RFCTableColumn newColumn)

Parameters

newColumn RFCTableColumn

Add(string, int, int, RFCTYPE, int)

Adds a new RFCTableColumn object to the collection.

public void Add(string name, int length, int decimals, RFCTYPE type, int offset)

Parameters

name string

Name of the column as provieded in the DDIC

length int

Length of the column

decimals int

Number of decimal digits

type RFCTYPE

RFC type of the column

offset int

Byte-Offset

Add(string, int, int, RFCTYPE)

Adds a new RFCTableColumn object to the collection.

public void Add(string name, int length, int decimals, RFCTYPE type)

Parameters

name string

Name of the column as provieded in the DDIC

length int

Length of the column

decimals int

Number of decimal digits

type RFCTYPE

RFC type of the column

Add(string, int, RFCTYPE)

Adds a new RFCTableColumn object to the collection.

public void Add(string name, int length, RFCTYPE type)

Parameters

name string

Name of the column as provieded in the DDIC

length int

Length of the column

type RFCTYPE

RFC type of the column

Clear()

public void Clear()

Contains(RFCTableColumn)

public bool Contains(RFCTableColumn item)

Parameters

item RFCTableColumn

Returns

bool

Contains(string)

public bool Contains(string columnName)

Parameters

columnName string

Returns

bool

CopyTo(RFCTableColumn[], int)

public void CopyTo(RFCTableColumn[] array, int arrayIndex)

Parameters

array RFCTableColumn[]

arrayIndex int

GetEnumerator()

public IEnumerator<RFCTableColumn> GetEnumerator()

Returns

IEnumerator<RFCTableColumn>

IndexOf(RFCTableColumn)

public int IndexOf(RFCTableColumn item)

Parameters

item RFCTableColumn

Returns

int

Insert(int, RFCTableColumn)

public void Insert(int index, RFCTableColumn item)

Parameters

index int

item RFCTableColumn

Remove(RFCTableColumn)

public bool Remove(RFCTableColumn item)

Parameters

item RFCTableColumn

Returns

bool

RemoveAt(int)

public void RemoveAt(int index)

Parameters

index int

RemoveAt(string)

public void RemoveAt(string columnName)

Parameters

columnName string