Class AccountFile
Wraps an account file.
Inherited Members
System.Object.ToString()
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: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class AccountFile : AttachedFile
Constructors
AccountFile(Int32)
Creates a new AccountFile object to be used when updating a file.
Declaration
public AccountFile(int id_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id_ | Identifies the file. |
AccountFile(Int32, String)
Creates a new AccountFile object to be used when uploading a file.
Declaration
public AccountFile(int accountId_, string name_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | accountId_ | Account to which the file belongs. |
| System.String | name_ | Name to use for the uploaded file. |
Properties
AccountId
Account to which this file belongs.
Declaration
public int AccountId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |