Redigera

Dela via


MimeContentBinding.Type Property

Definition

Gets or sets a value indicating the format of the body of the HTTP transmission.

public:
 property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
public string Type { get; set; }
member this.Type : string with get, set
Public Property Type As String

Property Value

A string indicating the format of the body of the HTTP transmission. The default value is an empty string ("").

Examples

MimeContentBinding_Part_4#1

Remarks

The Web Services Description Language (WSDL) specification defines bindings for several MIME types, including text/xml, multipart/related, and application/x-www-form-urlencoded, although any MIME type can be used. The wildcard character (*) can also be used. For example, the string "text/*" would represent all text types. If the value of this property is not set, the MimeContentBinding specifies all MIME types.

For more information about WSDL, see the WSDL specification.

Applies to