PageDirectiveFeature.TryGetPageDirective Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- logger
- ILogger
- projectItem
- Microsoft.AspNetCore.Razor.Language.RazorProjectItem
- template
- String