共用方式為


ProcessTemplate.GetResource 方法 (String, array<Byte[]%, Int64%)

從流程範本中取得具有指定名稱的資源

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Public Function GetResource ( _
    resourceName As String, _
    <OutAttribute> ByRef hashValue As Byte(), _
    <OutAttribute> ByRef contentLength As Long _
) As Stream
public Stream GetResource(
    string resourceName,
    out byte[] hashValue,
    out long contentLength
)

參數

  • resourceName
    類型:System.String
    要擷取之資源的名稱
  • hashValue
    類型:array<System.Byte[]%
    資源的雜湊值。
  • contentLength
    類型:System.Int64%
    資源內容的未壓縮的長度。

傳回值

類型:System.IO.Stream
傳回 Stream

實作

IProcessTemplate.GetResource(String, array<Byte[]%, Int64%)

.NET Framework 安全性

請參閱

參考

ProcessTemplate 類別

GetResource 多載

Microsoft.TeamFoundation.Server.Core 命名空間