Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
    name As String, _
    objectId As String _
)
public GitRef(
    string name,
    string objectId
)
public:
GitRef(
    String^ name, 
    String^ objectId
)
new : 
        name:string * 
        objectId:string -> GitRef
public function GitRef(
    name : String, 
    objectId : String
)
Parameters
- name
 Type: System.String
- objectId
 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.