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

从过程模板内部获取与给定的资源。

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

语法

声明
Function GetResource ( _
    resourceName As String, _
    <OutAttribute> ByRef hashValue As Byte(), _
    <OutAttribute> ByRef contentLength As Long _
) As Stream
Stream GetResource(
    string resourceName,
    out byte[] hashValue,
    out long contentLength
)

参数

  • resourceName
    类型:System.String
    要检索的资源的名称。
  • hashValue
    类型:array<System.Byte[]%
    资源的哈希值。
  • contentLength
    类型:System.Int64%
    resources 目录的未压缩的长度。

返回值

类型:System.IO.Stream

.NET Framework 安全性

请参阅

参考

IProcessTemplate 接口

GetResource 重载

Microsoft.TeamFoundation.Server.Core 命名空间