Partager via


SetExplicitClassPath method

Sets the class path.

Syntax

HRESULT retVal = object.SetExplicitClassPath(pszPath, fAppend);

Parameters

  • pszPath [in]
    Type: LPCOLESTR

    A pointer to a string that specifies the class path.

  • fAppend [in]
    Type: BOOL

    The append preference.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.