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>
參數
- artifactUri
型別:System.Uri
- attachment
型別:Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment%
會傳回實際附件物件的參數與對應的 ID。
- getSiblingAttachments
型別:System.Boolean
將問題是否同層級應該會傳回。
傳回值
型別:System.Collections.Generic.IList<ITestAttachment>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。