ITestCase.CreateAttachment Method (array<Byte , Int32, Int32)

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
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

Parameters

  • contents
    Type: array<Byte[]
  • offset
    Type: Int32
  • length
    Type: Int32

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment

.NET Framework Security

See Also

Reference

ITestCase Interface

CreateAttachment Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace