Extensions.GetResolvableObjectType Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetResolvableObjectType ( _
gitObject As TfsGitObject, _
requestContext As TeamFoundationRequestContext _
) As TfsGitObjectType
public static TfsGitObjectType GetResolvableObjectType(
this TfsGitObject gitObject,
TeamFoundationRequestContext requestContext
)
[ExtensionAttribute]
public:
static TfsGitObjectType GetResolvableObjectType(
TfsGitObject^ gitObject,
TeamFoundationRequestContext^ requestContext
)
static member GetResolvableObjectType :
gitObject:TfsGitObject *
requestContext:TeamFoundationRequestContext -> TfsGitObjectType
public static function GetResolvableObjectType(
gitObject : TfsGitObject,
requestContext : TeamFoundationRequestContext
) : TfsGitObjectType
Parameters
- gitObject
Type: Microsoft.TeamFoundation.Git.Server.TfsGitObject
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: Microsoft.TeamFoundation.Git.Server.TfsGitObjectType
Returns TfsGitObjectType.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type TfsGitObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.