Attachment Class
TOC
Collapse the table of content
Expand the table of content

Attachment Class

Describes a file attachment to a work item.

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.Attachment

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public class Attachment

The Attachment type exposes the following members.

  NameDescription
Public methodAttachment(String)Initializes a new file attachment instance.
Public methodAttachment(String, String)Initializes a new file attachment instance.
Top

  NameDescription
Public propertyAttachedTimeGets the attached date and time of this attachment.
Public propertyAttachedTimeUtcGets the UTC attached date and time of this attachment.
Public propertyCommentGets or sets the comment for this attachment.
Public propertyCreationTimeGets the creation date and time of this attachment.
Public propertyCreationTimeUtcGets the UTC creation date and time of this attachment.
Public propertyExtensionGets the extension of the file name of this attachment.
Public propertyFileGuid
Public propertyId
Public propertyIsSavedGets a flag that describes whether this attachment has been saved.
Public propertyLastWriteTimeGets the last modified date and time of this attachment.
Public propertyLastWriteTimeUtcGets the UTC last modified date and time of this attachment.
Public propertyLengthGets the length of this file attachment.
Public propertyNameGets the name of this attachment.
Public propertyUriGets the URI for the attachment. May be used to download the file directly.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2016 Microsoft