Syntax 4: for ResourceResponse objects
Description
Gets the response header by name.
Applies to
ResourceResponse objects
Syntax
|
1 |
objectname.GetHeader ( string headerName ) |
|
Argument |
Description |
|---|---|
|
objectname |
A reference to the ResourceResponse object in which you |
|
headerName |
A string specifying the header name. |
Return value
String.
Returns the value related to the header name. If any argument’s
value is null, the method returns null.
Examples
The following example shows the use of the GetHeader function to
get the value of the content-type header:
|
1 2 3 4 |
string ls_header ResourceResponse lnv_ResourceResponse ls_header = lnv_ResourceResponse.getheader("content-type") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest