StringContent Constructor (String, Encoding, String)

Initializes a new instance of the StringContent class.

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

public:
StringContent(
	String^ content, 
	Encoding^ encoding, 
	String^ mediaType
)

Parameters

content
Type: System::String
encoding
Type: System.Text::Encoding
mediaType
Type: System::String
Show: