Delen via


TeamFoundationFileService.RetrieveNamedFile Method

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
)
public:
Stream^ RetrieveNamedFile(
    TeamFoundationRequestContext^ requestContext, 
    OwnerId ownerId, 
    String^ fileName, 
    bool compressOutput, 
    [OutAttribute] array<unsigned char>^% hashValue, 
    [OutAttribute] long long% contentLength, 
    [OutAttribute] CompressionType% compressionType
)
member RetrieveNamedFile : 
        requestContext:TeamFoundationRequestContext * 
        ownerId:OwnerId * 
        fileName:string * 
        compressOutput:bool * 
        hashValue:byte[] byref * 
        contentLength:int64 byref * 
        compressionType:CompressionType byref -> Stream
public function RetrieveNamedFile(
    requestContext : TeamFoundationRequestContext, 
    ownerId : OwnerId, 
    fileName : String, 
    compressOutput : boolean, 
    hashValue : byte[], 
    contentLength : long, 
    compressionType : CompressionType
) : Stream

Parameters

Return Value

Type: System.IO.Stream
Returns Stream.

.NET Framework Security

See Also

Reference

TeamFoundationFileService Class

Microsoft.TeamFoundation.Framework.Server Namespace