Returns a
FileInfoBase object containing information of the specified file or directory.
public virtual FileInfoBase GetItemInfo(
string path
)
Public Overridable Function GetItemInfo( _
ByVal path As String _
) As FileInfoBase
public:
virtual FileInfoBase GetItemInfo(
String^ path
);
Parameters
- path
- The name of the file or directory to get information.
Return Value
An
FileInfoBase object containing information of the specified file or directory,
or a null reference (Nothing in VB.NET) if the specified file or directory not found.