Partager via


GitUtils.ObjectTypeFromString Method

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Shared Function ObjectTypeFromString ( _
    objectType As String _
) As TfsGitObjectType
public static TfsGitObjectType ObjectTypeFromString(
    string objectType
)
public:
static TfsGitObjectType ObjectTypeFromString(
    String^ objectType
)
static member ObjectTypeFromString : 
        objectType:string -> TfsGitObjectType
public static function ObjectTypeFromString(
    objectType : String
) : TfsGitObjectType

Parameters

Return Value

Type: Microsoft.TeamFoundation.Git.Server.TfsGitObjectType
Returns TfsGitObjectType.

.NET Framework Security

See Also

Reference

GitUtils Class

Microsoft.TeamFoundation.Git.Server Namespace