Syntax
C++
dtsStringHandle urlEncode(int iItem, int maxLen, int aflags, int additionalSearchFlags, const char * indexId);
Group
Parameters
Parameters |
Description |
---|---|
int iItem |
Zero-based index identifying the item to encode |
int maxLen |
Maximum length of string to return, or zero to indicate no limit |
int additionalSearchFlags |
SearchFlags to use in addition to the ones used in the original search. |
const char * indexId |
A string value to use instead of the index path, which will be stored in the form ixid=indexId |
flags |
UrlEncodeItemFlags value specifying options for the URL encoding |
Returns
A dtsStringHandle with the result of the URL encoding
Description
urlEncode generates a string encoding the contents of the currently selected item in search results. The string can be used in a subsequent call to urlDecode to re-create the search results item.
Remarks
The limit in maxLen is ignored if dtsUrlEncodeAsSearch is set in flags.