Share via


StringContent Constructor (String)

Initializes a new instance of the StringContent class.

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

Syntax

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

Dim instance As New StringContent(content)
public StringContent(
    string content
)
public:
StringContent(
    String^ content
)
new : 
        content:string -> StringContent
public function StringContent(
    content : String
)

Parameters

See Also

Reference

StringContent Class

StringContent Overload

System.Net.Http Namespace