ITestRunBase.CreateAttachment 方法 (array<Byte[], Int32, Int32)
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Function CreateAttachment ( _
contents As Byte(), _
offset As Integer, _
length As Integer _
) As ITestAttachment
ITestAttachment CreateAttachment(
byte[] contents,
int offset,
int length
)
ITestAttachment^ CreateAttachment(
array<unsigned char>^ contents,
int offset,
int length
)
abstract CreateAttachment :
contents:byte[] *
offset:int *
length:int -> ITestAttachment
function CreateAttachment(
contents : byte[],
offset : int,
length : int
) : ITestAttachment
參數
- contents
類型:array<Byte[]
- offset
類型:Int32
- length
類型:Int32
傳回值
類型:Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。