CodeSubDirectoriesCollection.Add Method (CodeSubDirectory)
.NET Framework (current version)
Adds a CodeSubDirectory object to the CodeSubDirectoriesCollection.
Assembly: System.Web (in System.Web.dll)
Parameters
- 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
Available since 2.0
Show: