Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)
| Visual Basic (Declaration) | |
|---|---|
Overloads Public Function ReadContentAs(Of T)() As T | |
| Visual Basic (Usage) | |
|---|---|
| |
| C# | |
|---|---|
public T ReadContentAs<T>() | |
| C++/CLI | |
|---|---|
public: T ReadContentAsgeneric<typename T> (); | |
Type Parameters
- T
- The type of value to read.
Return Value
The value of the specified type.This method reads the content at the current reader position and converts it to the requested return type. Only binary content, text, white space, significant white space and CDATA sections are getting processed.
If the content is not encoded as data of T type, the reader will try to perform a type conversion.
See XmlReader.ReadContentAs for more detailed description of the reader behavior.