XmlSerializationReader.ReadReference Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

Protected Function ReadReference (
	<OutAttribute> ByRef fixupReference As String
) As Boolean


Type: System.String

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

Return Value

Type: System.Boolean

true if the value was read; otherwise, false.

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.

.NET Framework
Available since 1.1
Return to top