Retrieves the full name of the file.
Type | Description | |||
String | A string value that indicates the file/folder's full name. |
The FullName property is read-only. Use the FullName property to get the path for the file or folder. Use Folder property to check whether the File object contains a file or a folder. Use the Name to get the displayed file/folder's name. Use the BrowseFolderPath property to specify the path to the browsed folder. Use the Get method to retrieve the selected items. The RelativeName property gets the relative path for the file or folder, based on the ExploreFromHere property. The Created property specifies the date when the file or directory was created. The Size property gets the size of the file in bytes. The Modified property specifies the date when the file was last written to, truncated, or overwritten. The Accessed property specifies the date when the file was last read from, written to, or for executable files, run.
The following VB sample displays the full name for all selected items:
With ExFileView1.Get(SelItems) Dim i As Long For i = 0 To .Count - 1 With .Item(i) Debug.Print .FullName End With Next End With
The following C++ sample displays the full name for all selected items:
CFiles files = m_fileview.GetGet( 0 /*SelItems*/ ); for ( long i = 0; i < files.GetCount(); i++ ) OutputDebugString( files.GetItem( COleVariant( i ) ).GetFullName() );
The following VB.NET sample displays the full name for all selected items:
With AxExFileView1.get_Get(EXFILEVIEWLib.TypeEnum.SelItems) Dim i As Integer For i = 0 To .Count - 1 Debug.WriteLine(.Item(i).FullName) Next End With
The following C# sample displays the full name for all selected items:
EXFILEVIEWLib.Files files = axExFileView1.get_Get(EXFILEVIEWLib.TypeEnum.SelItems); for (int i = 0; i < files.Count; i++) System.Diagnostics.Debug.WriteLine( files[i].FullName );
The following VFP sample displays the full name for all selected items:
With thisform.ExFileView1.Get( 0 ) && SellItems local i for i = 0 to .Count - 1 with .Item(i) wait window nowait .FullName endwith next EndWith