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)
Syntax
'Declaration
Public Shared Function GetGlobalImports As IEnumerable(Of String)
'Usage
Dim returnValue As IEnumerable(Of String)
returnValue = WebPageRazorHost.GetGlobalImports()
public static IEnumerable<string> GetGlobalImports()
public:
static IEnumerable<String^>^ GetGlobalImports()
static member GetGlobalImports : unit -> IEnumerable<string>
public static function GetGlobalImports() : IEnumerable<String>
Return Value
Type: System.Collections.Generic.IEnumerable<String>
The global imports for the webpage.