GitItem Constructor (String, array<Byte , GitObjectType, String, Int32)
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi.Legacy
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
itemPath As String, _
objectId As Byte(), _
objectType As GitObjectType, _
version As String, _
mode As Integer _
)
public GitItem(
string itemPath,
byte[] objectId,
GitObjectType objectType,
string version,
int mode
)
public:
GitItem(
String^ itemPath,
array<unsigned char>^ objectId,
GitObjectType objectType,
String^ version,
int mode
)
new :
itemPath:string *
objectId:byte[] *
objectType:GitObjectType *
version:string *
mode:int -> GitItem
public function GitItem(
itemPath : String,
objectId : byte[],
objectType : GitObjectType,
version : String,
mode : int
)
Parameters
- itemPath
Type: System.String
- objectId
Type: array<System.Byte[]
- objectType
Type: Microsoft.TeamFoundation.SourceControl.WebApi.Legacy.GitObjectType
- version
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.
See Also
Reference
Microsoft.TeamFoundation.SourceControl.WebApi.Legacy Namespace