QuerySelect Property

Selects only the specified properties to be returned in an entry when querying a service.

Syntax

ANSI (Cross Platform)
char* GetQuerySelect();
int SetQuerySelect(const char* lpszQuerySelect); Unicode (Windows) LPWSTR GetQuerySelect();
INT SetQuerySelect(LPCWSTR lpszQuerySelect);
@property (nonatomic,readwrite,assign,getter=querySelect,setter=setQuerySelect:) NSString* querySelect;
- (NSString*)querySelect;
- (void)setQuerySelect:(NSString*)newQuerySelect;
#define PID_ODATA_QUERYSELECT 80

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 allows you to specify the specific properties you want returned within an entry when calling QueryService. The specified value should be a comma-separated list of properties (provided you wish to have more than one property returned). For example, if you wish to only have the 'Name' and 'Price' of each item returned you can set QuerySelect to "Name,Price".

Note the specified values can be a property name, navigation property name (EntryLinksTitle) or the "*" character (which returns all the properties for each entry).

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]