CUrl::SetScheme

 

Call this method to set the URL scheme.

Syntax

      inline BOOL SetScheme(
   ATL_URL_SCHEME nScheme 
) throw( );

Parameters

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

You can also set the scheme by name (see CUrl::SetSchemeName).

Requirements

Header: atlutil.h

See Also

CUrl Class
CUrl::GetScheme