Share via


TeamFoundationFileService.TryGetFileId, méthode

Retourne l'ID du fichier avec le nom

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Valeur de retour

Type : System.Boolean
retourne Boolean ;

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationFileService Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms