表示对象支持附件所需的功能。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Interface IAttachmentOwner
public interface IAttachmentOwner
public interface class IAttachmentOwner
type IAttachmentOwner =  interface end
public interface IAttachmentOwner
IAttachmentOwner 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Attachments | 获取附件的集合。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | CreateAttachment(String) | 依据文件创建附件。 | 
| .gif) | CreateAttachment(String, SourceFileAction) | 依据文件创建附件,可以选择在上载之后删除源文件。 | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | AttachmentUploadCompleted | 此事件在附件上载完成时引发。 | 
页首