Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsSearchResults::urlEncode Method (long, int, int)
urlEncode Method | dtsSearchResults Class | Send Feedback

urlEncode generates a string encoding the contents of the currently selected item in search results.

dtsStringHandle urlEncode(long iItem, int maxLen, int flags);
Parameters
Parameters 
Description 
long iItem 
Zero-based index identifying the item to encode 
int maxLen 
Maximum length of string to return, or zero to indicate no limit 
int flags 
UrlEncodeItemFlags value specifying options for the URL encoding 
Returns

A dtsStringHandle with the result of the URL encoding

Description

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.

Group
Links
You are here: C++ API > Classes > dtsSearchResults Class > urlEncode Method > dtsSearchResults::urlEncode Method (long, int, int)
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.