Click or drag to resize

PostDataElement Class

Version 118.6.80
Class used to represent a single element in the request post data. The methods of this class may be called on any thread.
Inheritance Hierarchy
SystemObject
  CefSharpPostDataElement

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax
public class PostDataElement : IPostDataElement, 
	IDisposable

The PostDataElement type exposes the following members.

Constructors
  NameDescription
Public methodPostDataElement
Initializes a new instance of the PostDataElement class
Top
Properties
  NameDescription
Public propertyBytes
Gets or sets the bytes of this IPostDataElement.
Public propertyFile
Gets or sets the file name.
Public propertyIsReadOnly
Gets if the object is read-only.
Public propertyType
Gets the type of this IPostDataElement.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Create a new instance of IPostDataElement
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetToEmpty
Remove all contents from the post data element.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnWrap
Used internally to get the underlying IPostDataElement instance. Unlikely you'll use this yourself.
Top
Extension Methods
  NameDescription
Public Extension MethodGetBody
Converts the Bytes property into a string using the specified charset (Encoding) or if unable to parse then uses the Default
(Defined by PostDataExtensions.)
Top
See Also