The FileSet type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkFileSet()()()()
Initializes a new instance of the FileSet class.
Public methodSupported by the .NET Compact FrameworkFileSet(array<Char>[]()[][])
Initializes a new instance of the FileSet class.
Public methodSupported by the .NET Compact FrameworkFileSet(String)
Initializes a new instance of the FileSet class.
Public methodSupported by the .NET Compact FrameworkFileSet(String, array<Char>[]()[][])
Initializes a new instance of the FileSet class.
Public methodSupported by the .NET Compact FrameworkFileSet(String, String)
Initializes the FileSet object.
Public methodSupported by the .NET Compact FrameworkFileSet(String, String, TraversalMode)
Initializes the FileSet object.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkExclude(String)
Adds a path or mask into collection of exclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation.
Public methodSupported by the .NET Compact FrameworkExclude(String, TraversalMode)
Adds a path or mask into collection of exclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation.
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetLocalItems
Gets a collection of local file system items (files and directories) which matches this FileSet. Only items which matches no exclusion pattern and matches at leas one inclusion pattern are included into result collection. It doesn't depend on the order how the inclusion and exclusion patterns were added into the FileSet.
If you don't want to include empty directories into result collection, please set the EmptyDirectoriesIncluded to false.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkInclude(String)
Adds a path or mask into collection of inclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation.
Public methodSupported by the .NET Compact FrameworkInclude(String, TraversalMode)
Adds a path or mask into collection of inclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation.
Public methodSupported by the .NET Compact FrameworkIsMatch
Returns a value indicating whether the specified relative path matches the FileSet. This method is intended to be overwritten by descendants. In this case please note that for optimization issues when called with parameters equal to "." and TraverseDirectory this method should return false if no inclusion pattern was specified; true otherwise.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkBasePath
Gets or sets the base path of the set.
Public propertySupported by the .NET Compact FrameworkContainingDirectoriesIncluded
Gets or sets a value indicating whether a consumer of the FileSet should also include directories where the files are located. Also used in the GetLocalItems()()()() method. Example: Ftp.GetItems("DIR/*.txt") - this property determines whether item "DIR" should be also included in output collection.
Public propertySupported by the .NET Compact FrameworkEmptyDirectoriesIncluded
Gets or sets a value indicating whether a consumer of the FileSet should include empty directories or not. Also used in the GetLocalItems()()()() method.
Public propertySupported by the .NET Compact FrameworkFlatten
Gets or sets a value indicating whether a consumer of the FileSet should flatten the output. Flatten means to don't persist directory structure. For example if used to upload files "A/a.txt" and "B/b.txt" to the "/data" directory on a FTP server, files "a.txt" and "b.txt" are uploaded directly into the "/data" directory (directories "A" and "B" are not created in the "/data" directory).
Public propertySupported by the .NET Compact FrameworkIsCaseSensitive
Gets or sets a value indicating whether the FileSet is case sensitive.

See Also