TeamFoundationFileService.RetrieveNamedFile 方法

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
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
)

参数

返回值

类型:System.IO.Stream
返回 Stream

.NET Framework 安全性

请参见

参考

TeamFoundationFileService 类

Microsoft.TeamFoundation.Framework.Server 命名空间