Export (0) Print
Expand All

BuildProvider::RegisterBuildProvider Method

.NET Framework 4.6 and 4.5

Registers a build provider.

Namespace:  System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public:
static void RegisterBuildProvider(
	String^ extension, 
	Type^ providerType
)

Parameters

extension
Type: System::String

The file-name extension that the build provider is for.

providerType
Type: System::Type

The build provider class.

You can use this method to register build providers instead of defining them in the Web.config file. For more information about build providers, see the BuildProvider class and buildProviders Element for compilation (ASP.NET Settings Schema).

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft