IAttachmentOwner Interface

Represents the functionality that is required for an object to support attachments.

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

Syntax

'Declaration
Public Interface IAttachmentOwner
public interface IAttachmentOwner
public interface class IAttachmentOwner
type IAttachmentOwner =  interface end
public interface IAttachmentOwner

The IAttachmentOwner type exposes the following members.

Properties

  Name Description
Public property Attachments Gets the collection of attachments.

Top

Methods

  Name Description
Public method CreateAttachment(String) Creates an attachment from a file.
Public method CreateAttachment(String, SourceFileAction) Creates an attachment from a file, optionally deleting the source file after uploading.

Top

Events

  Name Description
Public event AttachmentUploadCompleted This event is raised when the attachment upload is completed.

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestAttachment