Поделиться через


DocumentService Class

Summary description for DocumentService.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.DocumentService

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

Syntax

'Declaration
<GuidAttribute("40BEAC94-C7C0-429c-BC59-72748E8A597E")> _
<ComVisibleAttribute(True)> _
Public Class DocumentService _
    Implements IWorkItemControlHost
[GuidAttribute("40BEAC94-C7C0-429c-BC59-72748E8A597E")]
[ComVisibleAttribute(true)]
public class DocumentService : IWorkItemControlHost
[GuidAttribute(L"40BEAC94-C7C0-429c-BC59-72748E8A597E")]
[ComVisibleAttribute(true)]
public ref class DocumentService : IWorkItemControlHost
[<GuidAttribute("40BEAC94-C7C0-429c-BC59-72748E8A597E")>]
[<ComVisibleAttribute(true)>]
type DocumentService =  
    class 
        interface IWorkItemControlHost 
    end
public class DocumentService implements IWorkItemControlHost

The DocumentService type exposes the following members.

Properties

  Name Description
Protected property Events

Top

Methods

  Name Description
Public method ContainsWorkItem(TeamFoundationServer, Int32) Obsolete.
Public method ContainsWorkItem(TfsTeamProjectCollection, Int32)
Public method CreateLinkResults
Public method CreateQuery(TeamFoundationServer, String, QueryFolder, String, Object) Obsolete.
Public method CreateQuery(TeamFoundationServer, String, Boolean, String, Object) Obsolete.
Public method CreateQuery(TfsTeamProjectCollection, String, QueryFolder, String, Object)
Public method CreateQuery(TfsTeamProjectCollection, String, Boolean, String, Object)
Public method CreateResults Obsolete.
Public method CreateWorkItem(WorkItem, Object)
Public method CreateWorkItem(TeamFoundationServer, String, String, Object) Obsolete.
Public method CreateWorkItem(TfsTeamProjectCollection, String, String, Object)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindDocument
Public method GetDocuments
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLinkResults
Public method GetQuery(TeamFoundationServer, String, Object) Obsolete.
Public method GetQuery(TfsTeamProjectCollection, String, Object)
Public method GetResults Obsolete.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWorkItem(TeamFoundationServer, Int32, Object) Obsolete.
Public method GetWorkItem(TfsTeamProjectCollection, Int32, Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDocumentAdded
Protected method OnDocumentRemoved
Public method ShowQuery
Public method ShowResults
Public method ShowWorkItem
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event DocumentAdded
Public event DocumentRemoved

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IWorkItemControlHost.SendToExcel
Explicit interface implemetationPrivate method IWorkItemControlHost.SendToMail
Explicit interface implemetationPrivate method IWorkItemControlHost.SendToProject
Explicit interface implemetationPrivate method IWorkItemControlHost.ShowQueryResults
Explicit interface implemetationPrivate method IWorkItemControlHost.ShowWorkItem Shows the specified work item on a new tab (or switches to an existing tab if one already exists).
Explicit interface implemetationPrivate property IWorkItemControlHost.SupportsSendToExcel
Explicit interface implemetationPrivate property IWorkItemControlHost.SupportsSendToMail
Explicit interface implemetationPrivate property IWorkItemControlHost.SupportsSendToProject

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace