XmlMappingSource.FromReader(XmlReader) 方法
定义
从 XML 读取器创建映射源。Creates a mapping source from an XML reader.
public:
static System::Data::Linq::Mapping::XmlMappingSource ^ FromReader(System::Xml::XmlReader ^ reader);
public static System.Data.Linq.Mapping.XmlMappingSource FromReader (System.Xml.XmlReader reader);
static member FromReader : System.Xml.XmlReader -> System.Data.Linq.Mapping.XmlMappingSource
Public Shared Function FromReader (reader As XmlReader) As XmlMappingSource
参数
- reader
- XmlReader
XML 读取器。An XML reader.
返回
类型为 XmlMappingSource 的新 XML 映射源。The new XML mapping source, as type XmlMappingSource.