IServer::URLEncode

The IServer::URLEncode method applies URL encoding rules, including escape characters, to the specified string. For more information, see the URLEncode method of the Server object.

HRESULT URLEncode(

  BSTR bstrIn,   // contains the text to be encoded

  BSTR * pbstrEncoded  // pointer to a binary string that receives

         // the encoded text

);

 

Parameters
bstrIn
[in] A binary string that contains the text to be encoded.
pbstrEncoded
[retval] [out] Points to a binary string that receives the encoded text.
See Also

Server Object, IServer::HTMLEncode