次の方法で共有


TeamFoundationFileService.RetrieveFile メソッド (TeamFoundationRequestContext, Int32, Boolean, array<Byte[]%, Int64%, CompressionType%)

BLOB ストアからファイルを取得します

名前空間:  Microsoft.TeamFoundation.Framework.Server
アセンブリ:  Microsoft.TeamFoundation.Framework.Server (Microsoft.TeamFoundation.Framework.Server.dll 内)

構文

'宣言
Public Overridable 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 virtual Stream RetrieveFile(
    TeamFoundationRequestContext requestContext,
    int fileId,
    bool compressOutput,
    out byte[] hashValue,
    out long contentLength,
    out CompressionType compressionType
)

パラメーター

戻り値

型 : System.IO.Stream

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

TeamFoundationFileService クラス

RetrieveFile オーバーロード

Microsoft.TeamFoundation.Framework.Server 名前空間