PageDirectiveFeature.TryGetPageDirective Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Paramètres
- logger
- ILogger
- projectItem
- Microsoft.AspNetCore.Razor.Language.RazorProjectItem
- template
- String