XmlDictionaryReader.ReadContentAs(Type, IXmlNamespaceResolver) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a node's content to a specified type.
public:
override System::Object ^ ReadContentAs(Type ^ type, System::Xml::IXmlNamespaceResolver ^ namespaceResolver);
public override object ReadContentAs (Type type, System.Xml.IXmlNamespaceResolver namespaceResolver);
public override object ReadContentAs (Type type, System.Xml.IXmlNamespaceResolver? namespaceResolver);
override this.ReadContentAs : Type * System.Xml.IXmlNamespaceResolver -> obj
Public Overrides Function ReadContentAs (type As Type, namespaceResolver As IXmlNamespaceResolver) As Object
Parameters
- namespaceResolver
- IXmlNamespaceResolver
An IXmlNamespaceResolver object that is used to resolve any namespace prefixes related to type conversion. For example, this can be used when converting an XmlQualifiedName object to an xs:string
. This value can be a null reference.
Returns
The concatenated text content or attribute value converted to the requested type.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.