ResolvedResource.GetTextReader Method ()ResolvedResource.GetTextReader Method ()ResolvedResource::GetTextReader Method ()

Gets a TextReaderTextReaderTextReader over the resource.

Syntax

Public Function GetTextReader() As System.IO.TextReader
public System.IO.TextReader GetTextReader()
public:
System.IO::TextReader^ GetTextReader()
 

Exceptions

ExceptionCondition
XmlExceptionXmlExceptionXmlExceptionThe encoding specified is not supported.

Remarks

This will cause the encoding of the resource to be set, if it has not been already.

The behavior of this method is the same as the unparsed-text function.