ArcObjects Library Reference (System)  

IFileNames.IsDirectory Method

Indicates if the current filename is a directory.

[Visual Basic .NET]
Public Function IsDirectory ( _
) As Boolean
[C#]
public bool IsDirectory (
);
[C++]
HRESULT IsDirectory(
  VARIANT_BOOL* IsDirectory
);
[C++]

Parameters

IsDirectory [out, retval]   IsDirectory is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Indicates whether the current file name in the array is a directory or a file.

See Also

IFileNames Interface