WebPageHttpHandler.GetRegisteredExtensions Method
Returns a list of file name extensions that the current WebPageHttpHandler instance can process.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Shared Function GetRegisteredExtensions As ReadOnlyCollection(Of String)
'Usage
Dim returnValue As ReadOnlyCollection(Of String)
returnValue = WebPageHttpHandler.GetRegisteredExtensions()
public static ReadOnlyCollection<string> GetRegisteredExtensions()
public:
static ReadOnlyCollection<String^>^ GetRegisteredExtensions()
static member GetRegisteredExtensions : unit -> ReadOnlyCollection<string>
public static function GetRegisteredExtensions() : ReadOnlyCollection<String>
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
A read-only list of file name extensions that are processed by the current WebPageHttpHandler instance.
Remarks
To register a file name extension, call the RegisterExtension(String) method.