This documentation is archived and is not being maintained.
Attachment Class
Visual Studio 2013
Describes a file attachment to a work item.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
The Attachment type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Attachment(String) | Initializes a new file attachment instance. |
![]() | Attachment(String, String) | Initializes a new file attachment instance. |
| Name | Description | |
|---|---|---|
![]() | AttachedTime | Gets the attached date and time of this attachment. |
![]() | AttachedTimeUtc | Gets the UTC attached date and time of this attachment. |
![]() | Comment | Gets or sets the comment for this attachment. |
![]() | CreationTime | Gets the creation date and time of this attachment. |
![]() | CreationTimeUtc | Gets the UTC creation date and time of this attachment. |
![]() | Extension | Gets the extension of the file name of this attachment. |
![]() | FileGuid | |
![]() | Id | |
![]() | IsSaved | Gets a flag that describes whether this attachment has been saved. |
![]() | LastWriteTime | Gets the last modified date and time of this attachment. |
![]() | LastWriteTimeUtc | Gets the UTC last modified date and time of this attachment. |
![]() | Length | Gets the length of this file attachment. |
![]() | Name | Gets the name of this attachment. |
![]() | Uri | Gets the URI for the attachment. May be used to download the file directly. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:
