Delen via


DocumentService.FindDocument Method

Namespace:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (in Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)

Syntax

'Declaration
Public Function FindDocument ( _
    canonicalId As String, _
    lockToken As Object _
) As IWorkItemTrackingDocument
public IWorkItemTrackingDocument FindDocument(
    string canonicalId,
    Object lockToken
)
public:
IWorkItemTrackingDocument^ FindDocument(
    String^ canonicalId, 
    Object^ lockToken
)
member FindDocument : 
        canonicalId:string * 
        lockToken:Object -> IWorkItemTrackingDocument
public function FindDocument(
    canonicalId : String, 
    lockToken : Object
) : IWorkItemTrackingDocument

Parameters

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IWorkItemTrackingDocument
Returns IWorkItemTrackingDocument.

.NET Framework Security

See Also

Reference

DocumentService Class

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace