Attachment Members

Include Protected Members
Include Inherited Members

Attachment Linking Class.

The Attachment type exposes the following members.

Constructors

 

Name

Description

Public method

Attachment

Initializes a file attachment object.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

AttachedTime

Gets the date and time the file was attached.

Public property

AttachedTimeUtc

Gets the date and time the file was attached in Universal Coordinated Time (UTC).

Public property

Comment

Gets the comment string for this Attachment.

Public property

CreationTime

Gets the date and time the Attachment was created.

Public property

CreationTimeUtc

Gets the date and time the Attachment was created in Universal Coordinated Time (UTC).

Public property

Extension

Gets the extension of the attached file.

Public property

IsSaved

Returns true if the Attachment has been saved; otherwise false.

Public property

LastWriteTime

Gets the date and time of the last write to the Attachment.

Public property

LastWriteTimeUtc

Gets the date and time of the last write to the Attachment in Universal Coordinated Time (UTC).

Public property

Length

Gets the length of the file Attachment.

Public property

Name

Gets the name of the file Attachment.

Public property

Uri

Gets the Uri for a saved file attachment. The Uri can be used to download the file directly.

Top

See Also

Reference

Attachment Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace