Share via


IFileSyncScopeFilter::SetFilenameExcludes

Gets the collection of file names to exclude from the scope.

HRESULT SetFilenameExcludes(
  LPCWSTR pcszFilenameExcludes);

Parameters

  • pcszFilenameExcludes
    [in, string] The semicolon-delimited list of file names to exclude from the scope. When this value is the empty string, "", no files are excluded.

Return Value

  • S_OK

Remarks

Wildcards (* and ?) can be used in file names.

The file names in pszFilenameExcludes are evaluated by using the PathMatchSpec function. Directories are not evaluated against this exclusion list.

See Also

Reference

IFileSyncScopeFilter Interface