Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CodeSubDirectoriesCollection.Add Method

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

public void Add(
	CodeSubDirectory codeSubDirectory
)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft