StringContent Constructor (String^, Encoding^, String^)
.NET Framework (current version)
Creates a new instance of the StringContent class.
Assembly: System.Net.Http (in System.Net.Http.dll)
Parameters
- content
-
Type:
System::String^
The content used to initialize the StringContent.
- encoding
-
Type:
System.Text::Encoding^
The encoding to use for the content.
- mediaType
-
Type:
System::String^
The media type to use for the content.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: