共用方式為


ITestManagementTeamProject.QueryAttachmentsByLink 方法

傳回清單同層級附件和附加檔案附件成品 URI 的。

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

語法

'宣告
Function QueryAttachmentsByLink ( _
    artifactUri As Uri, _
    <OutAttribute> ByRef attachment As ITestAttachment, _
    getSiblingAttachments As Boolean _
) As IList(Of ITestAttachment)
IList<ITestAttachment> QueryAttachmentsByLink(
    Uri artifactUri,
    out ITestAttachment attachment,
    bool getSiblingAttachments
)
IList<ITestAttachment^>^ QueryAttachmentsByLink(
    Uri^ artifactUri, 
    [OutAttribute] ITestAttachment^% attachment, 
    bool getSiblingAttachments
)
abstract QueryAttachmentsByLink : 
        artifactUri:Uri * 
        attachment:ITestAttachment byref * 
        getSiblingAttachments:bool -> IList<ITestAttachment> 
function QueryAttachmentsByLink(
    artifactUri : Uri, 
    attachment : ITestAttachment, 
    getSiblingAttachments : boolean
) : IList<ITestAttachment>

參數

  • getSiblingAttachments
    型別:System.Boolean
    將問題是否同層級應該會傳回。

傳回值

型別:System.Collections.Generic.IList<ITestAttachment>

.NET Framework 安全性

請參閱

參考

ITestManagementTeamProject 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間