System.CodeDom.Compiler.ICodeGenerator.Supports Method

Gets a value indicating whether the generator provides support for the language features represented by the specified System.CodeDom.Compiler.GeneratorSupport object.

Syntax

public bool Supports (GeneratorSupport supports)

Parameters

supports
The capabilities to test the generator for.

Returns

true if the specified capabilities are supported; otherwise, false.

Remarks

This method can be called with a number of System.CodeDom.Compiler.GeneratorSupport flags at once to test for a set of capabilities by joining a set of appropriate capability flags together with a binary "Or" operator (|).

Requirements

Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0