Share via


FileData.IsDirectory Property

Gets a value that indicates whether this object represents a directory.

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

Syntax

'Declaration
Public ReadOnly Property IsDirectory As Boolean
    Get
'Usage
Dim instance As FileData
Dim value As Boolean

value = instance.IsDirectory
public bool IsDirectory { get; }
public:
property bool IsDirectory {
    bool get ();
}
member IsDirectory : bool
function get IsDirectory () : boolean

Property Value

Type: System.Boolean
true if this object represents a directory; otherwise, false.

Remarks

If this object is a directory, the Attributes property will contain the Directory flag.

See Also

Reference

FileData Class

Microsoft.Synchronization.Files Namespace