FindHeader()

SoapMessage::FindHeader(System::ArrayPtr<System::SharedPtr<SoapHeaderMapping>>, const TypeInfo&) method

Find the header mapping by specified header type.

System::SharedPtr<SoapHeaderMapping> System::Web::Services::Protocols::SoapMessage::FindHeader(System::ArrayPtr<System::SharedPtr<SoapHeaderMapping>> headersInfo, const TypeInfo &headerType)

Arguments

ParameterTypeDescription
headersInfoSystem::ArrayPtr<System::SharedPtr<SoapHeaderMapping>>The collection of the header mappings.
headerTypeconst TypeInfo&The header type to look for.

Return Value

The header mapping.

See Also