Method | Description | |
---|---|---|
GetFileExtension ( this file ) : string |
Returns the file extension
|
|
GetFileNameForDisplay ( this file ) : string |
Returns a nicely formatted file name: without extension and hyphens replaced by spaces for display
|
|
GetFileNameWithoutExtension ( this file ) : string |
Returns the file name without extension
|
|
GetFilePathForDisplay ( this file ) : string | ||
GetFilePathWithoutExtension ( this file ) : string | ||
GetMimeType ( this file ) : string | ||
IsImage ( this file ) : bool |
Method | Description | |
---|---|---|
ToFileNameForDisplay ( this fileName ) : string |
public static GetFileExtension ( this file ) : string | ||
file | this | |
return | string |
public static GetFileNameForDisplay ( this file ) : string | ||
file | this | |
return | string |
public static GetFileNameWithoutExtension ( this file ) : string | ||
file | this | |
return | string |
public static GetFilePathForDisplay ( this file ) : string | ||
file | this | |
return | string |
public static GetFilePathWithoutExtension ( this file ) : string | ||
file | this | |
return | string |
public static GetMimeType ( this file ) : string | ||
file | this | |
return | string |