共用方式為


Attachment.MakeAttachment 方法

命名空間:  Microsoft.TeamFoundation.WorkItemTracking.Client
組件:  Microsoft.TeamFoundation.WorkItemTracking.Client (在 Microsoft.TeamFoundation.WorkItemTracking.Client.dll 中)

語法

'宣告
Public Shared Function MakeAttachment ( _
    workItem As WorkItem, _
    attachmentInfo As AttachmentInfo _
) As Attachment
public static Attachment MakeAttachment(
    WorkItem workItem,
    AttachmentInfo attachmentInfo
)

參數

  • attachmentInfo
    型別:AttachmentInfo

傳回值

型別:Microsoft.TeamFoundation.WorkItemTracking.Client.Attachment

.NET Framework 安全性

請參閱

參考

Attachment 類別

Microsoft.TeamFoundation.WorkItemTracking.Client 命名空間