Reads the value from the current position in the stream as the type
specified.
Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function ReadAs(Of T)() As T |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As XmlFastInfosetReader
Dim value As T
value = instance.ReadAs(Of T)()
|
| C++/CLI | |
|---|
public:
T ReadAsgeneric<typename T>
(); |
Type Parameters
- T
- The type to which the value read should be converted to.
Return Value
The value of the type T read from the stream.
Remarks
Version Information
.NET Framework
Supported in: 3.5, 3.0, 2.0
.NET Compact Framework
Supported in: 3.5, 2.0
See Also