StringContent Constructor (String, Encoding)

Initializes a new instance of the StringContent class.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

'Declaration
Public Sub New ( _
	content As String, _
	encoding As Encoding _
)
'Usage
Dim content As String 
Dim encoding As Encoding 

Dim instance As New StringContent(content, _
	encoding)

Parameters

content
Type: System.String
encoding
Type: System.Text.Encoding
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft