GitUtils.CreateObjectHeader Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Shared Function CreateObjectHeader ( _
objectType As TfsGitObjectType, _
length As Long _
) As Byte()
public static byte[] CreateObjectHeader(
TfsGitObjectType objectType,
long length
)
public:
static array<unsigned char>^ CreateObjectHeader(
TfsGitObjectType objectType,
long long length
)
static member CreateObjectHeader :
objectType:TfsGitObjectType *
length:int64 -> byte[]
public static function CreateObjectHeader(
objectType : TfsGitObjectType,
length : long
) : byte[]
Parameters
- objectType
Type: Microsoft.TeamFoundation.Git.Server.TfsGitObjectType
- length
Type: System.Int64
Return Value
Type: array<System.Byte[]
Returns Byte.
.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.