TfsGitRef Constructor
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
objectId As Byte(), _
isDefaultBranch As Boolean _
)
public TfsGitRef(
string name,
byte[] objectId,
bool isDefaultBranch
)
public:
TfsGitRef(
String^ name,
array<unsigned char>^ objectId,
bool isDefaultBranch
)
new :
name:string *
objectId:byte[] *
isDefaultBranch:bool -> TfsGitRef
public function TfsGitRef(
name : String,
objectId : byte[],
isDefaultBranch : boolean
)
Parameters
- name
Type: System.String
- objectId
Type: array<System.Byte[]
- isDefaultBranch
Type: System.Boolean
.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.