ImportOptions::CodeProvider Property

 

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

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public:
property CodeDomProvider^ CodeProvider {
	CodeDomProvider^ get();
	void set(CodeDomProvider^ value);
}

Property Value

Type: System.CodeDom.Compiler::CodeDomProvider^

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

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.

.NET Framework
Available since 3.0
Return to top
Show: