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
- canonicalId
Type: System.String
- lockToken
Type: System.Object
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IWorkItemTrackingDocument
Returns IWorkItemTrackingDocument.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace