RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse.GetStatusCode Method

Provides the abstract (pure virtual) prototype of a method to access the StatusCode property.

Pascal
function GetStatusCode: Integer; virtual; abstract;
C++
virtual __fastcall int GetStatusCode() = 0;

Descendants of TWebResponse implement GetStatusCode to provide an access method for internal representation of the StatusCode property. This method is abstract (pure virtual) because response objects for different types of HTTP applications store the value of the StatusCode property differently. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!