'Declaration
<NotNullAttribute()> Public Function FromResource( _ ByVal resourceDescriptor As ResourceDescriptor _ ) As ValueResult(Of TValue)
'Usage
Dim instance As StreamLoader(Of TValue) Dim resourceDescriptor As ResourceDescriptor Dim value As ValueResult(Of TValue) value = instance.FromResource(resourceDescriptor)
[NotNull()] public ValueResult<TValue> FromResource( ResourceDescriptor resourceDescriptor )
[NotNull()] public: ValueResult<TValue^>^ FromResource( ResourceDescriptor^ resourceDescriptor )
Parameters
- resourceDescriptor
- The resource descriptor to load the value from.
Return Value
Returns value result with the value loaded.