Reads the value from the current position in the stream as the type specified.
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)() |
| Delphi | |
|---|
public function ReadAs(): T; |
| JScript | |
|---|
public function ReadAs() : T; |
| Managed Extensions for C++ | |
|---|
public: T* ReadAs<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
See Also