Share via


FileSyncScopeFilter.SubdirectoryExcludes Property

Gets the collection of relative paths of directories to exclude from the scope.

Namespace:  Microsoft.Synchronization.Files
Assembly:  Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)

Syntax

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

value = instance.SubdirectoryExcludes
public ICollection<string> SubdirectoryExcludes { get; }
public:
property ICollection<String^>^ SubdirectoryExcludes {
    ICollection<String^>^ get ();
}
member SubdirectoryExcludes : ICollection<string>
function get SubdirectoryExcludes () : ICollection<String>

Property Value

Type: System.Collections.Generic.ICollection<String>
The collection of relative paths of directories to exclude from the scope. An empty collection means no directories are excluded based on relative path.

Remarks

Wildcards (* and ?) can be used in directory paths.

Excluding a directory excludes all files and subdirectories that are contained in that directory.

See Also

Reference

FileSyncScopeFilter Class

Microsoft.Synchronization.Files Namespace