PageDirectiveFeature.TryGetPageDirective 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
static bool TryGetPageDirective(Microsoft::Extensions::Logging::ILogger ^ logger, Microsoft::AspNetCore::Razor::Language::RazorProjectItem ^ projectItem, [Runtime::InteropServices::Out] System::String ^ % template);
public static bool TryGetPageDirective (Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Razor.Language.RazorProjectItem projectItem, out string template);
static member TryGetPageDirective : Microsoft.Extensions.Logging.ILogger * Microsoft.AspNetCore.Razor.Language.RazorProjectItem * string -> bool
Public Shared Function TryGetPageDirective (logger As ILogger, projectItem As RazorProjectItem, ByRef template As String) As Boolean
參數
- logger
- ILogger
- projectItem
- Microsoft.AspNetCore.Razor.Language.RazorProjectItem
- template
- String