Freigeben über


TeamFoundationFileService.RetrieveNamedFile-Methode

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

Syntax

'Declaration
Public Function RetrieveNamedFile ( _
    requestContext As TeamFoundationRequestContext, _
    ownerId As OwnerId, _
    fileName As String, _
    compressOutput As Boolean, _
    <OutAttribute> ByRef hashValue As Byte(), _
    <OutAttribute> ByRef contentLength As Long, _
    <OutAttribute> ByRef compressionType As CompressionType _
) As Stream
public Stream RetrieveNamedFile(
    TeamFoundationRequestContext requestContext,
    OwnerId ownerId,
    string fileName,
    bool compressOutput,
    out byte[] hashValue,
    out long contentLength,
    out CompressionType compressionType
)

Parameter

Rückgabewert

Typ: System.IO.Stream
Gibt Stream zurück.

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationFileService Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace