IFileDialog2::SetFileNameLabel Method

Sets the text of the label next to the file name edit box.

Syntax

HRESULT SetFileNameLabel(      
    LPCWSTR pszLabel
);

Parameters

  • pszLabel
    [in] A pointer to a buffer that contains the label text.

Return Value

Returns S_OK if successful, or an error value otherwise.