|
SerializerGetValueT Method
|
Retrieves a value from the SerializationInfo store.
Namespace:
Accord.IO
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static T GetValue<T>(
this SerializationInfo info,
string name,
out T value
)
<ExtensionAttribute>
Public Shared Function GetValue(Of T) (
info As SerializationInfo,
name As String,
<OutAttribute> ByRef value As T
) As T
Request Example
View SourceParameters
- info
- Type: System.Runtime.SerializationSerializationInfo
The serialization info store containing the value. - name
- Type: SystemString
The name of the value. - value
- Type: T
The value retrieved from the info store.
Type Parameters
- T
- The type of the value to be retrieved.
Return Value
Type:
TThe value retrieved from the info store.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SerializationInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also