GitRepository.DefaultBranch Property
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
<DataMemberAttribute> _
Public Property DefaultBranch As String
[DataMemberAttribute]
public string DefaultBranch { get; set; }
[DataMemberAttribute]
public:
property String^ DefaultBranch {
String^ get ();
void set (String^ value);
}
[<DataMemberAttribute>]
member DefaultBranch : string with get, set
function get DefaultBranch () : String
function set DefaultBranch (value : String)
Property Value
Type: System.String
.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.