ActiveReports 11
GetResource(ResourceInfo,IServiceProvider) Method

GrapeCity.ActiveReports.Extensibility.v11 Assembly > GrapeCity.ActiveReports.Extensibility Namespace > ResourceLocator Class > GetResource Method : GetResource(ResourceInfo,IServiceProvider) Method
ResourceInfo instance contains information about resource to be located.
Service provider to use to get resource.
Gets Resource by it's ResourceInfo using specified System.IServiceProvider .
Syntax
'Declaration
 
Public Overloads Overridable Function GetResource( _
   ByVal resourceInfo As ResourceInfo, _
   ByVal serviceProvider As IServiceProvider _
) As Resource
public virtual Resource GetResource( 
   ResourceInfo resourceInfo,
   IServiceProvider serviceProvider
)

Parameters

resourceInfo
ResourceInfo instance contains information about resource to be located.
serviceProvider
Service provider to use to get resource.

Return Value

Resource contains resource that was located.
See Also

Reference

ResourceLocator Class
ResourceLocator Members
Overload List