Modifica

Condividi tramite


XmlSerializationReader.ReadReference(String) Method

Definition

Reads the value of the href attribute (ref attribute for SOAP 1.2) that is used to refer to an XML element in SOAP encoding.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 bool ReadReference([Runtime::InteropServices::Out] System::String ^ % fixupReference);
protected bool ReadReference (out string? fixupReference);
protected bool ReadReference (out string fixupReference);
member this.ReadReference : string -> bool
Protected Function ReadReference (ByRef fixupReference As String) As Boolean

Parameters

fixupReference
String

An output string into which the href attribute value is read.

Returns

true if the value was read; otherwise, false.

Remarks

The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

The opening # symbol is stripped from the href attribute value.

SOAP encoding allows a unique XML element to appear once within a SOAP message as a multiRef element identified by an id attribute. The id value can be referenced multiple times using href attributes (or ref attributes in SOAP 1.2) in substitute elements.

SOAP encoding is described in Section 5 of the SOAP 1.1 specification.

Applies to