Share via


TeamFoundationFileService.TryGetFileId Method

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

Syntax

'Declaration
Public Function TryGetFileId ( _
    requestContext As TeamFoundationRequestContext, _
    ownerId As OwnerId, _
    fileName As String, _
    <OutAttribute> ByRef fileId As Integer _
) As Boolean
public bool TryGetFileId(
    TeamFoundationRequestContext requestContext,
    OwnerId ownerId,
    string fileName,
    out int fileId
)
public:
bool TryGetFileId(
    TeamFoundationRequestContext^ requestContext, 
    OwnerId ownerId, 
    String^ fileName, 
    [OutAttribute] int% fileId
)
member TryGetFileId : 
        requestContext:TeamFoundationRequestContext * 
        ownerId:OwnerId * 
        fileName:string * 
        fileId:int byref -> bool
public function TryGetFileId(
    requestContext : TeamFoundationRequestContext, 
    ownerId : OwnerId, 
    fileName : String, 
    fileId : int
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationFileService Class

Microsoft.TeamFoundation.Framework.Server Namespace