XmlReaderReadElementContentAsString Method (String, String) |
Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a
String object.
Namespace: System.XmlAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax public virtual string ReadElementContentAsString(
string localName,
string namespaceURI
)
Parameters
- localName
- Type: SystemString
The local name of the element. - namespaceURI
- Type: SystemString
The namespace URI of the element.
Return Value
Type:
StringThe element content as a
String object.
Exceptions See Also