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
- objectType
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Git.Server.TfsGitObjectType
Returns TfsGitObjectType.
.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.