Attributes Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets the attributes for the current file or directory.
Namespace: System.IO
Assembly: System.IO (in System.IO.dll)
Syntax
'Declaration
Public ReadOnly Property Attributes As FileAttributes
public FileAttributes Attributes { get; }
public:
property FileAttributes Attributes {
FileAttributes get ();
}
member Attributes : FileAttributes with get
function get Attributes () : FileAttributes
Property Value
Type: System.IO. . :: . .FileAttributes
FileAttributes of the current FileSystemInfo.
Remarks
The value of this property is a combination of the archive, compressed, directory, hidden, offline, read-only, system, and temporary file attribute flags.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.