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
- itemPath
Type: System.String
- objectId
Type: System.String
- objectType
Type: Microsoft.TeamFoundation.SourceControl.WebApi.GitObjectType
- commitId
Type: System.String
- mode
Type: System.Int32
.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.