WebPageRazorHost.GetGlobalImports Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the global imports for the webpage.

Namespace:  System.Web.WebPages.Razor
Assembly:  System.Web.WebPages.Razor (in System.Web.WebPages.Razor.dll)

static member GetGlobalImports : unit -> IEnumerable<string> 

Return Value

Type: System.Collections.Generic.IEnumerable(String)
The global imports for the webpage.
Show: