ServiceDescriptionImporter.CodeGenerationOptions プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As ServiceDescriptionImporter Dim value As CodeGenerationOptions value = instance.CodeGenerationOptions instance.CodeGenerationOptions = value
[ComVisibleAttribute(false)] public: property CodeGenerationOptions CodeGenerationOptions { CodeGenerationOptions get (); void set (CodeGenerationOptions value); }
/** @property */ public CodeGenerationOptions get_CodeGenerationOptions () /** @property */ public void set_CodeGenerationOptions (CodeGenerationOptions value)
public function get CodeGenerationOptions () : CodeGenerationOptions public function set CodeGenerationOptions (value : CodeGenerationOptions)
CodeGenerationOptions 列挙体のメンバまたはメンバの組み合わせ。

CodeGenerationOptions プロパティを使用すると、コードを生成するために Import メソッドが呼び出されたときに使用されるさまざまなオプションを指定できます。たとえば、WSDL で記述されている単純型を値型と System.Data.SqlTypes 名前空間の型のどちらとして生成するか、またそれらをプロパティとフィールドのどちらとして生成するかを指定できます。

CodeGenerationOptions プロパティの使用例を次に示します。
// Generate properties to represent primitive values.
importer.CodeGenerationOptions = System.Xml.Serialization.CodeGenerationOptions.GenerateProperties;
// Generate properties to represent primitive values. importer->CodeGenerationOptions = System::Xml::Serialization::CodeGenerationOptions::GenerateProperties;

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からServiceDescriptionImporter.CodeGenerationOptions プロパティを検索する場合は、下記のリンクをクリックしてください。

- ServiceDescriptionImporter.CodeGenerationOptions プロパティのページへのリンク