StringContent Methods

The StringContent type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Content.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from Content.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadAsByteArray
Serialize the HTTP content and return a byte array that represents the content.
(Inherited from Content.)
Public methodReadAsStream
Serialize the HTTP content and return a stream that represents the content.
(Inherited from Content.)
Public methodReadAsString
Serialize the HTTP content and return a string that represents the content.
(Inherited from Content.)
Protected methodSerializeToStream
Serializes to stream.
(Inherited from ByteArrayContent.)
Public methodToString (Inherited from Object.)
See Also