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)

'Declaration
Public Shared Function GetGlobalImports As IEnumerable(Of String)
'Usage
Dim returnValue As IEnumerable(Of String)

returnValue = WebPageRazorHost.GetGlobalImports()

Return Value

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