Class FileLocations
Specifies the location where to upload the file from and optional filename if it should be renamed on upload
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
public class FileLocations
Constructors
FileLocations(string, string, string)
Initializes a new instance of the FileLocations class.
Declaration
public FileLocations(string absoluteSourcePath, string fileNameOverride = null, string identifier = null)
Parameters
string
absoluteSourcePath
Physical (absolute) source file path |
string
fileNameOverride
Specify if you want to upload the file under a different filename than the source name. If a path is specified, only the filename will be used. |
string
identifier
The identifier of the file for internal book keeping. Usually this is auto-generated. |
Properties
AbsoluteSourcePath
Physical (absolute) source file path
Declaration
public string AbsoluteSourcePath { get; }
Property Value
string |
Identifier
The identifier of the file for internal book keeping Usually this is auto-generated.
Declaration
public string Identifier { get; }
Property Value
string |
UploadAs
The filename under which the file will be uploaded
Declaration
public string UploadAs { get; }
Property Value
string |
Methods
ToString()
Operators
implicit operator FileLocations(string)
Declaration
public static implicit operator FileLocations(string path)
Parameters
string path |
Returns
FileLocations |