The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ITestCaseResult::CreateAttachment Method (array<Byte>^, Int32, Int32)
Creates an attachment to this test result by using the given byte array, location, and length.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
ITestAttachment^ CreateAttachment( array<unsigned char>^ contents, int offset, int length )
Parameters
- contents
-
Type:
array<System::Byte>^
A byte array of data.
- offset
-
Type:
System::Int32
The starting point in the byte array.
- length
-
Type:
System::Int32
The length of the piece of data to attach.
When the object owning this attachment is saved, the contents will be uploaded to the TCM server. The array should not be modified before then.
Show: