ByteArrayContent Constructor (Byte[], Int32, Int32)
Initializes a new instance of the ByteArrayContent class.
Namespace: System.Net.Http
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Sub New ( _
content As Byte(), _
offset As Integer, _
count As Integer _
)
'Usage
Dim content As Byte()
Dim offset As Integer
Dim count As Integer
Dim instance As New ByteArrayContent(content, _
offset, count)
public ByteArrayContent(
byte[] content,
int offset,
int count
)
public:
ByteArrayContent(
array<unsigned char>^ content,
int offset,
int count
)
new :
content:byte[] *
offset:int *
count:int -> ByteArrayContent
public function ByteArrayContent(
content : byte[],
offset : int,
count : int
)
Parameters
- content
Type: System.Byte[]
The content used to initialize the ByteArrayContent.
- offset
Type: System.Int32
The offset, in bytes, in the content parameter used to initialize the ByteArrayContent.
- count
Type: System.Int32
The number of bytes in the content starting from the offset parameter used to initialize the ByteArrayContent.