ITestManagementTeamProject.QueryAttachmentsByLink Method (Uri, ITestAttachment, Boolean)
Returns list of sibling attachments and the attachment itself for an attachment artifact uri.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
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 As Uri,
<OutAttribute> ByRef attachment As ITestAttachment,
getSiblingAttachments As Boolean
) As IList(Of ITestAttachment)
Parameters
- artifactUri
Type: System.Uri
attachment
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestAttachmentout param returning actual attachment object corresponding to the id
getSiblingAttachments
Type: System.BooleanFlag asking whether siblings should be returned or not
Return Value
Type: System.Collections.Generic.IList<ITestAttachment>
See Also
ITestManagementTeamProject Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top