Class FileLocations
Specifies the location where to upload the file from and optional filename if it should be renamed on upload
Inheritance
System.Object
FileLocations
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
System.String
absoluteSourcePath
Physical (absolute) source file path |
System.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. |
System.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
System.String
|
Identifier
The identifier of the file for internal book keeping Usually this is auto-generated.
Declaration
public string Identifier { get; }
Property Value
System.String
|
UploadAs
The filename under which the file will be uploaded
Declaration
public string UploadAs { get; }
Property Value
System.String
|
Methods
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()
Operators
Implicit(String to FileLocations)
Declaration
public static implicit operator FileLocations(string path)
Parameters
System.String
path
|
Returns
FileLocations
|