Udostępnij za pośrednictwem


Metoda TeamFoundationFileService.RetrieveFile — (TeamFoundationRequestContext, Int32, Boolean, array<Byte %, Int64%, CompressionType%)

Pobiera plik z magazynu blob

Przestrzeń nazw:  Microsoft.TeamFoundation.Framework.Server
Zestaw:  Microsoft.TeamFoundation.Framework.Server (w Microsoft.TeamFoundation.Framework.Server.dll)

Składnia

'Deklaracja
Public Function RetrieveFile ( _
    requestContext As TeamFoundationRequestContext, _
    fileId As Integer, _
    compressOutput As Boolean, _
    <OutAttribute> ByRef hashValue As Byte(), _
    <OutAttribute> ByRef contentLength As Long, _
    <OutAttribute> ByRef compressionType As CompressionType _
) As Stream
public Stream RetrieveFile(
    TeamFoundationRequestContext requestContext,
    int fileId,
    bool compressOutput,
    out byte[] hashValue,
    out long contentLength,
    out CompressionType compressionType
)

Parametry

Wartość zwracana

Typ: System.IO.Stream

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TeamFoundationFileService Klasa

Przeciążenie RetrieveFile

Przestrzeń nazw Microsoft.TeamFoundation.Framework.Server