DesignTimeResourceProviderFactory.CreateDesignTimeGlobalResourceProvider 方法

定义

在派生类中重写时,使用提供的 IServiceProvider 接口和资源类名称创建全局资源提供程序。

public:
 abstract System::Web::Compilation::IResourceProvider ^ CreateDesignTimeGlobalResourceProvider(IServiceProvider ^ serviceProvider, System::String ^ classKey);
public abstract System.Web.Compilation.IResourceProvider CreateDesignTimeGlobalResourceProvider (IServiceProvider serviceProvider, string classKey);
abstract member CreateDesignTimeGlobalResourceProvider : IServiceProvider * string -> System.Web.Compilation.IResourceProvider
Public MustOverride Function CreateDesignTimeGlobalResourceProvider (serviceProvider As IServiceProvider, classKey As String) As IResourceProvider

参数

serviceProvider
IServiceProvider

对设计宿主的引用。

classKey
String

资源类的名称。

返回

IResourceProviderIDesignTimeResourceWriter

适用于

另请参阅