IRecordSetInit Interface

Provides access to methods that allow construction of recordsets based on source row or feature collections.

Members

Name Description
Method CreateRowBuffer Creates a row buffer that can be used with an insert cursor.
Method CreateTable Creates an empty table or feature class for a Recordset.
Method Insert Returns a cursor that can be used to insert new rows.
Read/write property MaxRecordCount The maximum number of records for the recordset.
Method SetSourceQueryDef Sets the source QueryDef for a Recordset.
Method SetSourceTable Sets the source table or feature class for a Recordset.

IRecordSetInit.CreateRowBuffer Method

Creates a row buffer that can be used with an insert cursor.

Public Function CreateRowBuffer ( _
) As IRowBuffer
public IRowBuffer CreateRowBuffer (
);

Remarks

When using a recordset class, the CreateRowBuffer property is used to create a row buffer that can be used with an insert cursor.

IRecordSetInit.CreateTable Method

Creates an empty table or feature class for a Recordset.

Public Sub CreateTable ( _
    ByVal Fields As IFields _
)
public void CreateTable (
    IFields Fields
);

Remarks

When using a recordset class, the CreateTable property is used to create an empty table or feature class for a RecordSet.

IRecordSetInit.Insert Method

Returns a cursor that can be used to insert new rows.

Public Function Insert ( _
) As ICursor
public ICursor Insert (
);

Remarks

When using a recordset class, the Insert property is used to return a cursor that can be used to insert new rows into a RecordSet.

IRecordSetInit.MaxRecordCount Property

The maximum number of records for the recordset.

Public Property MaxRecordCount As Integer
public int MaxRecordCount {get; set;}

Remarks

When using a recordset class, the MaxRecordCount property is used to return the maximum number of records for the recordset.

IRecordSetInit.SetSourceQueryDef Method

Sets the source QueryDef for a Recordset.

Public Sub SetSourceQueryDef ( _
    ByVal QueryDef As IQueryDef _
)
public void SetSourceQueryDef (
    IQueryDef QueryDef
);

Remarks

When using a recordset class, the SetSourceQueryDef property is used to sets the source QueryDef for a Recordset.

IRecordSetInit.SetSourceTable Method

Sets the source table or feature class for a Recordset.

Public Sub SetSourceTable ( _
    ByVal Table As ITable, _
    ByVal QueryFilter As IQueryFilter _
)
public void SetSourceTable (
    ITable Table,
    IQueryFilter QueryFilter
);

Remarks

When using a recordset class, the SetSourceTable property is used to set the source table or feature class for a Recordset.

Classes that implement IRecordSetInit

Classes Description
RecordSet Esri Record Set object.

Remarks

The IRecordsetInit interface is used to initialize the Recordset coclass. The coclass must be intialized before any of the other interfaces in the coclass can be used.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.