Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property SavedFilePath As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PostedFile Dim value As String value = instance.SavedFilePath |
C# | |
---|---|
public string SavedFilePath {get;} |
This is the path and name of the file as it was saved on the server. If a file with the same FileName already exists on the server, it will be renamed with a unique integer extension. For example, if the file "test.jpg" and "test.jpg.1" exists on the server, an uploaded file "test.jpg" will be saved as "test.jpg.2". This property reports the unique filename, while FileName contains the original filename.
Target Platforms: Microsoft .NET Framework 2.0