ExtensionHandle.ReadXml Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Deserializes an extension that returns the assembly name and type name.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub ReadXml ( _
reader As XmlReader _
)
public void ReadXml(
XmlReader reader
)
public:
virtual void ReadXml(
XmlReader^ reader
) sealed
abstract ReadXml :
reader:XmlReader -> unit
override ReadXml :
reader:XmlReader -> unit
public final function ReadXml(
reader : XmlReader
)
Parameters
- reader
Type: System.Xml.XmlReader
An XmlReader that provides a non-cached, forward-only access to an extension in XML format.
Implements
IXmlSerializable.ReadXml(XmlReader)
Remarks
During deserialization, this method will read the assembly name and the type name from the XML reader. It will search among the extensions that are already loaded to find the extension that matches this information. If no extension is found, the type will be set to nulla null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.