Changeset 142 for Include/Classes/System/IO/DirectoryInfo.ab
- Timestamp:
- Mar 9, 2007, 10:15:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/IO/DirectoryInfo.ab
r129 r142 18 18 19 19 Function Root() As DirectoryInfo 20 Dim dirInfo as DirectoryInfo(Path.GetPathRoot(FullPath))20 Dim dirInfo As DirectoryInfo(Path.GetPathRoot(FullPath)) 21 21 Return dirInfo 22 22 End Function … … 24 24 'Public Method 25 25 Sub Create() 26 CreateDirectory( FullPath, NULL)26 CreateDirectory(ToTCStr(FullPath), NULL) 27 27 End Sub 28 28 … … 31 31 32 32 Override Sub Delete() 33 RemoveDirectory( FullPath)33 RemoveDirectory(ToTCStr(FullPath)) 34 34 End Sub 35 35 … … 54 54 /* Function GetFiles() As Array 55 55 End Function*/ 56 56 57 57 /* Function GetFiles(searchPattern As String) As Array 58 58 End Function*/ 59 59 60 60 /* Function GetFiles(searchPattern As String, searchOption As SearchOption) As Array 61 61 End Function*/ … … 68 68 69 69 Sub MoveTo(destDirName As String) 70 If MoveFile( FullPath, destDirName) = FalseThen70 If MoveFile(ToTCStr(FullPath), ToTCStr(destDirName)) = FALSE Then 71 71 'Exception 72 72 End If
Note:
See TracChangeset
for help on using the changeset viewer.