ICodeGenerator.Supports Method (GeneratorSupport)
Gets a value indicating whether the generator provides support for the language features represented by the specified GeneratorSupport object.
Assembly: System (in System.dll)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")] [PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")] bool Supports( GeneratorSupport supports )
The capabilities to test the generator for.
Return ValueType: System.Boolean
true if the specified capabilities are supported; otherwise, false.
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 (|).
Available since 1.1