EntryIndex Property

The index of the current entry in an OData feed.

Syntax

ANSI (Cross Platform)
int GetEntryIndex();
int SetEntryIndex(int iEntryIndex); Unicode (Windows) INT GetEntryIndex();
INT SetEntryIndex(INT iEntryIndex);
@property (nonatomic,readwrite,assign,getter=entryIndex,setter=setEntryIndex:) int entryIndex;
- (int)entryIndex;
- (void)setEntryIndex:(int)newEntryIndex;
#define PID_ODATA_ENTRYINDEX 40

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_OData_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_OData_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

-1

Remarks

This property is used to specify an entry within a retrieved OData feed. Once set, EntryAuthor, EntryETag, EntryTitle, EntrySummary, EntryUpdated, EntryLinks, EntryProperties and ResourcePath will be populated with their respective values found within the entry.

This property takes index values from 0 to EntryCount-1.

Setting EntryIndex to -1 will clear the entries contained by the component and will also reset EntryProperties and EntryCount.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]