Share via


FileSyncScopeFilter.FileNameIncludes Property

Gets the collection of file names to explicitly include in the scope.

Namespace: Microsoft.Synchronization.Files
Assembly: Microsoft.Synchronization.Files (in microsoft.synchronization.files.dll)

Syntax

'Declaration
Public ReadOnly Property FileNameIncludes As ICollection(Of String)
'Usage
Dim instance As FileSyncScopeFilter
Dim value As ICollection(Of String)

value = instance.FileNameIncludes
public ICollection<string> FileNameIncludes { get; }
public:
property ICollection<String^>^ FileNameIncludes {
    ICollection<String^>^ get ();
}
/** @property */
public ICollection<String> get_FileNameIncludes ()
public function get FileNameIncludes () : ICollection<String>

Property Value

The collection of file names to explicitly include in the scope. An empty collection means all files are included based on name, unless otherwise excluded.

Remarks

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

Explicit inclusion is weaker than exclusion. Therefore, if a file or folder is excluded by some other filter, it will be excluded from the scope even if it is explicitly included in this list.

See Also

Reference

FileSyncScopeFilter Class
FileSyncScopeFilter Members
Microsoft.Synchronization.Files Namespace