StringContent Constructor (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.
The media type for the StringContent created defaults to text/plain.
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: