EMS.ResourceAPI.TEndpointHeaders.GetValue

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
Unit: EMS.ResourceAPI
Parent: TEndpointHeaders

Delphi

function GetValue(const AName: string): string;

C++

System::UnicodeString __fastcall GetValue(const System::UnicodeString AName);

Description

Returns the header value with the specified header name or raises an exception if the specified header name does not exist.

If the specified header name does not exist in this instance of TEndpointHeaders, GetValue raises an EEMSEndpointError exception with the following message:

Header not found: <header name>

See Also