Freigeben über


TeamFoundationFileService.TryGetFileId-Methode

Gibt die Datei-ID der Datei mit dem angegebenen Namen zurück

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
)

Parameter

Rückgabewert

Typ: System.Boolean
Gibt Boolean zurück.

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationFileService Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace