Bewerken

Delen via


ImportOptions.CodeProvider Property

Definition

Gets or sets a CodeDomProvider instance that provides the means to check whether particular options for a target language are supported.

public:
 property System::CodeDom::Compiler::CodeDomProvider ^ CodeProvider { System::CodeDom::Compiler::CodeDomProvider ^ get(); void set(System::CodeDom::Compiler::CodeDomProvider ^ value); };
public System.CodeDom.Compiler.CodeDomProvider? CodeProvider { get; set; }
public System.CodeDom.Compiler.CodeDomProvider CodeProvider { get; set; }
member this.CodeProvider : System.CodeDom.Compiler.CodeDomProvider with get, set
Public Property CodeProvider As CodeDomProvider

Property Value

A CodeDomProvider that provides the means to check whether particular options for a target language are supported.

Remarks

To support better code generation for different languages, information about what is supported by the target language needs to be passed to the schema importer. This is done by passing an instance of the CodeDomProvider class, which provides a Supports method to check whether it supports particular CodeGeneratorOptions.

Applies to