共用方式為


ClientService.GetWorkItem Method

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

Syntax

'宣告
Public Sub GetWorkItem ( _
    requestId As String, _
    workItemId As Integer, _
    revisionId As Integer, _
    minimumRevisionId As Integer, _
    asOfDate As Nullable(Of DateTime), _
    useMaster As Boolean, _
    <OutAttribute> ByRef workItem As IWorkItemRowSets, _
    metadataHave As MetadataTableHaveEntry(), _
    <OutAttribute> ByRef dbStamp As String, _
    <OutAttribute> ByRef metadata As IMetadataRowSets _
)
public void GetWorkItem(
    string requestId,
    int workItemId,
    int revisionId,
    int minimumRevisionId,
    Nullable<DateTime> asOfDate,
    bool useMaster,
    out IWorkItemRowSets workItem,
    MetadataTableHaveEntry[] metadataHave,
    out string dbStamp,
    out IMetadataRowSets metadata
)
public:
void GetWorkItem(
    String^ requestId, 
    int workItemId, 
    int revisionId, 
    int minimumRevisionId, 
    Nullable<DateTime> asOfDate, 
    bool useMaster, 
    [OutAttribute] IWorkItemRowSets^% workItem, 
    array<MetadataTableHaveEntry>^ metadataHave, 
    [OutAttribute] String^% dbStamp, 
    [OutAttribute] IMetadataRowSets^% metadata
)
member GetWorkItem : 
        requestId:string * 
        workItemId:int * 
        revisionId:int * 
        minimumRevisionId:int * 
        asOfDate:Nullable<DateTime> * 
        useMaster:bool * 
        workItem:IWorkItemRowSets byref * 
        metadataHave:MetadataTableHaveEntry[] * 
        dbStamp:string byref * 
        metadata:IMetadataRowSets byref -> unit 
public function GetWorkItem(
    requestId : String, 
    workItemId : int, 
    revisionId : int, 
    minimumRevisionId : int, 
    asOfDate : Nullable<DateTime>, 
    useMaster : boolean, 
    workItem : IWorkItemRowSets, 
    metadataHave : MetadataTableHaveEntry[], 
    dbStamp : String, 
    metadata : IMetadataRowSets
)

Parameters

.NET Framework Security

See Also

Reference

ClientService Class

Microsoft.TeamFoundation.WorkItemTracking.Proxy Namespace