CompilerElement Class

Specifies a compiler that is used for Web applications.

Syntax

class CompilerElement : CollectionElement  

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the CompilerElement class.

Name Description
CompilerOptions A read/write string value that specifies compiler-specific options to use during compilation. Overrides any previously defined values.
Extensions A required unique read/write string value that contains a semicolon-delimited list of file name extensions used for dynamic code-behind files, files in the code directory, and other referenced files. A key property.
Language A required unique read/write string value that contains a semicolon-delimited list of programming languages to use in dynamic compilation files. A key property.
Type A read/write string value that specifies the type name of the language compiler to use for dynamic compilation files. Note: The Type property specifies the type name of the language provider, including the name of the assembly that contains the provider implementation.
WarningLevel A read/write sint32 value that specifies the compiler warning level. Note: The compiler warning level determines the level at which the language provider treats compilation warnings as errors.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the Compilers array property of the CompilerSettings class.

Inheritance Hierarchy

CollectionElement

CompilerElement

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

CollectionElement Class
CompilerSettings Class