EMS.ResourceAPI.TEndpointHeaders.GetValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetValue(const AName: string): string;

C++

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

Properties

Type Visibility Source Unit Parent
function public
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
EMS.ResourceAPI TEndpointHeaders

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