แก้ไข

แชร์ผ่าน


XmlSerializationReader.ReadReferencingElement Method

Definition

Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

Overloads

ReadReferencingElement(String)

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

Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

ReadReferencingElement(String, String, String)

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

Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

ReadReferencingElement(String, String, Boolean, String)

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

Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

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.

ReadReferencingElement(String)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

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

protected:
 System::Object ^ ReadReferencingElement([Runtime::InteropServices::Out] System::String ^ % fixupReference);
protected object? ReadReferencingElement (out string? fixupReference);
protected object ReadReferencingElement (out string fixupReference);
member this.ReadReferencingElement : string -> obj
Protected Function ReadReferencingElement (ByRef fixupReference As String) As Object

Parameters

fixupReference
String

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

Returns

The deserialized object.

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.

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

ReadReferencingElement(String, String, String)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

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

protected:
 System::Object ^ ReadReferencingElement(System::String ^ name, System::String ^ ns, [Runtime::InteropServices::Out] System::String ^ % fixupReference);
protected object? ReadReferencingElement (string? name, string? ns, out string? fixupReference);
protected object ReadReferencingElement (string name, string ns, out string fixupReference);
member this.ReadReferencingElement : string * string * string -> obj
Protected Function ReadReferencingElement (name As String, ns As String, ByRef fixupReference As String) As Object

Parameters

name
String

The local name of the element's XML Schema data type.

ns
String

The namespace of the element's XML Schema data type.

fixupReference
String

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

Returns

The deserialized object.

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.

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

ReadReferencingElement(String, String, Boolean, String)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

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

protected:
 System::Object ^ ReadReferencingElement(System::String ^ name, System::String ^ ns, bool elementCanBeType, [Runtime::InteropServices::Out] System::String ^ % fixupReference);
protected object? ReadReferencingElement (string? name, string? ns, bool elementCanBeType, out string? fixupReference);
protected object ReadReferencingElement (string name, string ns, bool elementCanBeType, out string fixupReference);
member this.ReadReferencingElement : string * string * bool * string -> obj
Protected Function ReadReferencingElement (name As String, ns As String, elementCanBeType As Boolean, ByRef fixupReference As String) As Object

Parameters

name
String

The local name of the element's XML Schema data type.

ns
String

The namespace of the element's XML Schema data type.

elementCanBeType
Boolean

true if the element name is also the XML Schema data type name; otherwise, false.

fixupReference
String

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

Returns

The deserialized object.

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.

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