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.
Looks up the Git object with the given object ID (20-byte SHA-1 hash).
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Function LookupObject ( _
requestContext As TeamFoundationRequestContext, _
objectId As Byte() _
) As TfsGitObject
public TfsGitObject LookupObject(
TeamFoundationRequestContext requestContext,
byte[] objectId
)
public:
TfsGitObject^ LookupObject(
TeamFoundationRequestContext^ requestContext,
array<unsigned char>^ objectId
)
member LookupObject :
requestContext:TeamFoundationRequestContext *
objectId:byte[] -> TfsGitObject
public function LookupObject(
requestContext : TeamFoundationRequestContext,
objectId : byte[]
) : TfsGitObject
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context to use for executing this request.
objectId
Type: array<System.Byte[]The 20-byte SHA-1 hash of the object.
Return Value
Type: Microsoft.TeamFoundation.Git.Server.TfsGitObject
A TfsGitObject if the object is found; null otherwise
.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.