QuickOPC User's Guide and Reference
FromResource Method (_StreamLoader)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.IO.ComTypes Namespace > _StreamLoader Interface : FromResource Method
The resource descriptor to load the value from.
Loads a value from a resource, given a resource descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Function FromResource( _
   ByVal resourceDescriptor As Object _
) As ValueResult
'Usage
 
Dim instance As _StreamLoader
Dim resourceDescriptor As Object
Dim value As ValueResult
 
value = instance.FromResource(resourceDescriptor)
[NotNull()]
ValueResult FromResource( 
   object resourceDescriptor
)
[NotNull()]
ValueResult^ FromResource( 
   Object^ resourceDescriptor
) 

Parameters

resourceDescriptor
The resource descriptor to load the value from.

Return Value

Returns value result with the value loaded.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also