Dela via


FileData.Attributes Property

Gets the file attributes.

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

Syntax

'Declaration
Public ReadOnly Property Attributes As FileAttributes
    Get
'Usage
Dim instance As FileData
Dim value As FileAttributes

value = instance.Attributes
public FileAttributes Attributes { get; }
public:
property FileAttributes Attributes {
    FileAttributes get ();
}
member Attributes : FileAttributes
function get Attributes () : FileAttributes

Property Value

Type: System.IO.FileAttributes
The attributes of the file.

Remarks

File attributes are used to indicate a variety of information about a file or folder, such as whether it is hidden or read-only.

See Also

Reference

FileData Class

Microsoft.Synchronization.Files Namespace