Share via


CUrl::SetScheme

Call this method to set the URL scheme.

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

Reference

CUrl Class

CUrl::GetScheme