ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports 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.

In This Topic
    GetResource(ResourceInfo,IServiceProvider) Method
    In This Topic
    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