This document is archived and information here might be outdated. Recommended version. |
Gets a record by object id.
[Visual Basic .NET] Public Function FetchByID ( _ ByVal ClassIndex As Integer, _ ByVal ID As Integer, _ ByVal FieldMap As Object _ ) As IPlugInCursorHelper
[C#] public IPlugInCursorHelper FetchByID ( int ClassIndex, int ID, object FieldMap );
[C++]
HRESULT FetchByID(
long ClassIndex,
long ID,
VARIANT FieldMap
);
[C++] Parameters ClassIndex [in]
ClassIndex is a parameter of type long ID [in]
ID is a parameter of type long FieldMap [in]
FieldMap is a parameter of type VARIANT
Returns a record by object ID. The cursor will have a single record. If there is no object with the given id, this method should fail.
FieldMap indicates which fields should be returned by the query. See IPlugInCursorHelper::QueryValues and IPlugInFastQueryValues::FastQueryValues for a description of how to use the field map.