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,         //binary string that contains the text to be 
                       // encoded
  BSTR * pbstrEncoded  //pointer to a binary string that receives 
                       // the encoded text
);
 

Parameters

bstrIn
A binary string that contains the text to be encoded.
pbstrEncoded
Points to a binary string that receives the encoded text.

See Also

Server Object, IServer::HTMLEncode