編輯

共用方式為


XmlSerializationReader.ReadTypedPrimitive(XmlQualifiedName) Method

Definition

Gets the value of the XML node at which the XmlReader is currently positioned.

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

protected:
 System::Object ^ ReadTypedPrimitive(System::Xml::XmlQualifiedName ^ type);
protected object? ReadTypedPrimitive (System.Xml.XmlQualifiedName type);
protected object ReadTypedPrimitive (System.Xml.XmlQualifiedName type);
member this.ReadTypedPrimitive : System.Xml.XmlQualifiedName -> obj
Protected Function ReadTypedPrimitive (type As XmlQualifiedName) As Object

Parameters

type
XmlQualifiedName

The XmlQualifiedName that represents the simple data type for the current location of the XmlReader.

Returns

The value of the node as a .NET Framework value type, if the value is a simple XML Schema data type.

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.

Applies to