FileLocator Pro .NET Library
Show/Hide TOC

# FileAttributes Class

Represents file attribute criteria used for file searching.

## Definition

Namespace: Mythicsoft.Search.Core
Assembly: Mythicsoft.Search.Core (in Mythicsoft.Search.Core.dll) Version: 9.3.830.1
C#

    public class FileAttributes : IDisposable

C++

    public ref class FileAttributes : IDisposable

Inheritance
  Object FileAttributes

Implements
  IDisposable

## Properties

Active | Gets or sets the flag indicating if the attributes should be searched.
Archive | Gets or sets the required AttributeState for the Archive attribute.
Compressed | Gets or sets the required AttributeState for the Compressed attribute.
Encrypted | Gets or sets the required AttributeState for the Encrypted attribute.
Folder | Gets or sets the required AttributeState for the Folder attribute.
Hidden | Gets or sets the required AttributeState for the Hidden attribute.
Offline | Gets or sets the required AttributeState for the Offline attribute.
ReadOnly | Gets or sets the required AttributeState for the ReadOnly attribute.
Sparse | Gets or sets the required AttributeState for the Sparse attribute.
SystemFile | Gets or sets the required AttributeState for the SystemFile attribute.

## Methods

Clear | Clears all attributes so that no attribute matching will be used during the search.
Dispose | Releases all resources used by the FileAttributes
Dispose(Boolean) | Releases the unmanaged resources used by the FileAttributes and optionally releases the managed resources
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Non-GC class clean up (Overrides ObjectFinalize)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Mythicsoft.Search.Core Namespace