EntryETag Property

The ETag of the current entry in an OData feed.

Syntax

ANSI (Cross Platform)
char* GetEntryETag();
int SetEntryETag(const char* lpszEntryETag); Unicode (Windows) LPWSTR GetEntryETag();
INT SetEntryETag(LPCWSTR lpszEntryETag);
@property (nonatomic,readwrite,assign,getter=entryETag,setter=setEntryETag:) NSString* entryETag;
- (NSString*)entryETag;
- (void)setEntryETag:(NSString*)newEntryETag;
#define PID_ODATA_ENTRYETAG 38

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

""

Remarks

This property is used to obtain the ETag of the specified entry within an OData feed and will be populated once EntryIndex is set.

This property is also used when retrieving, updating or deleting an entry. When EntryETag contains a non-empty string, an "If-None-Match" header will be sent with the entered value when QueryService is called. When DeleteEntry or UpdateEntry is called, an "If-Match" header will be sent with the entered value.

This property is not available at design time.

Data Type

String

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