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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。