This documentation is archived and is not being maintained.

ICodeGenerator.Supports Method

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

[Visual Basic]
Function Supports( _
   ByVal supports As GeneratorSupport _
) As Boolean
[C#]
bool Supports(
   GeneratorSupport supports
);
[C++]
bool Supports(
   GeneratorSupport supports
);
[JScript]
function Supports(
   supports : GeneratorSupport
) : Boolean;

Parameters

supports
The capabilities to test the generator for.

Return Value

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

Remarks

This method can be called with a number of 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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ICodeGenerator Interface | ICodeGenerator Members | System.CodeDom.Compiler Namespace

Show: