ITestManagementTeamProject.QueryAttachmentsByLink 方法
returns列表同级附件和附件附件项目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(-4)相应
- getSiblingAttachments
类型:System.Boolean
标记询问是否应返回同级
返回值
类型:System.Collections.Generic.IList<ITestAttachment>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。