System.CodeDom.CodeDirective Class

Serves as the base class for code directive classes.

See Also: CodeDirective Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeDirective : CodeObject

Remarks

A class must inherit from the System.CodeDom.CodeDirective class to be contained in a System.CodeDom.CodeDirectiveCollection.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0