CodeSubDirectoriesCollection.Add Method (CodeSubDirectory)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Public Sub Add (
	codeSubDirectory As CodeSubDirectory


Type: System.Web.Configuration.CodeSubDirectory

A string value specifying the CodeSubDirectory reference.

Adds a CodeSubDirectory object to the collection. If the assembly object is not initialized with assembly information, an exception is thrown. If the assembly object already exists in the collection, the statement is ignored.

.NET Framework
Available since 2.0
Return to top