IRazorPageFactoryProvider.CreateFactory(String) 方法

定义

IRazorPage为指定路径创建工厂。

public:
 Microsoft::AspNetCore::Mvc::Razor::RazorPageFactoryResult CreateFactory(System::String ^ relativePath);
public Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult CreateFactory (string relativePath);
abstract member CreateFactory : string -> Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult
Public Function CreateFactory (relativePath As String) As RazorPageFactoryResult

参数

relativePath
String

用于查找页面的路径。

返回

RazorPageFactoryResult 实例。

适用于