Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Describes a file attachment to a work item.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Client.Attachment
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Class Attachment
public class Attachment
public ref class Attachment
type Attachment = class end
public class Attachment
The Attachment type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
Attachment(String) | Initializes a new file attachment instance. |
![]() |
Attachment(String, String) | Initializes a new file attachment instance. |
Top
Properties
| 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. |
Top
Methods
| 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.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)