Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FormPostHttpBody::ContentType Property

 

Gets a value that indicates the content type of the data being sent.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
property String^ ContentType {
	virtual String^ get() sealed;
}

Property Value

Type: System::String^

A value representing the content type.

If there are any file upload parameters, the content type is multipart/form-data, 'multipart/form-data'. Otherwise, the content type is URL encoded, 'application/x-www-form-urlencoded'.

Return to top
Show: