Partager via


GitItem Constructor (String, String, GitObjectType, String, Int32)

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Sub New ( _
    itemPath As String, _
    objectId As String, _
    objectType As GitObjectType, _
    commitId As String, _
    mode As Integer _
)
public GitItem(
    string itemPath,
    string objectId,
    GitObjectType objectType,
    string commitId,
    int mode
)
public:
GitItem(
    String^ itemPath, 
    String^ objectId, 
    GitObjectType objectType, 
    String^ commitId, 
    int mode
)
new : 
        itemPath:string * 
        objectId:string * 
        objectType:GitObjectType * 
        commitId:string * 
        mode:int -> GitItem
public function GitItem(
    itemPath : String, 
    objectId : String, 
    objectType : GitObjectType, 
    commitId : String, 
    mode : int
)

Parameters

.NET Framework Security

See Also

Reference

GitItem Class

GitItem Overload

Microsoft.TeamFoundation.SourceControl.WebApi Namespace