BuildProviderCollection.Remove Method (String)

 

Removes a BuildProvider object from the BuildProviderCollection.

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

Public Sub Remove (
	name As String
)

Parameters

name
Type: System.String

A string value specifying the BuildProvider reference.

If the BuildProvider does not exist in the collection, the build provider is ignored.

The following code example demonstrates how to use the Remove method. This code example is part of a larger example provided for the BuildProviderCollection class.

' Remove an BuildProvider.
configSection.BuildProviders.Remove(".myres2")

.NET Framework
Available since 2.0
Return to top
Show: