SoapWebResponse.ContentType Property
Gets the content type of the response.
Namespace: Microsoft.Web.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim soapWebResponse1 As SoapWebResponse
Dim returnValue As String
returnValue = soapWebResponse1.ContentType
Syntax
'Declaration
Public Overrides ReadOnly Property ContentType() As String
public override string ContentType {get;}
public: property virtual String^ ContentType{
String^ get();
}
public System.String get_ContentType();
public override function get ContentType() : String;
Property Value
The content type of the response.
Remarks
The ContentType property contains the value of the Content-Type header returned with the SOAP response.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
SoapWebResponse Class
Microsoft.Web.Services2 Namespace