ServiceDescriptionImporter.CodeGenerationOptions プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ServiceDescriptionImporter.CodeGenerationOptions プロパティの意味・解説 

ServiceDescriptionImporter.CodeGenerationOptions プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

コード生成のさまざまなオプションを取得または設定します。

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

<ComVisibleAttribute(False)> _
Public Property CodeGenerationOptions As
 CodeGenerationOptions
Dim instance As ServiceDescriptionImporter
Dim value As CodeGenerationOptions

value = instance.CodeGenerationOptions

instance.CodeGenerationOptions = value
[ComVisibleAttribute(false)] 
public CodeGenerationOptions CodeGenerationOptions { get;
 set; }
[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;
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ServiceDescriptionImporter クラス
ServiceDescriptionImporter メンバ
System.Web.Services.Description 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からServiceDescriptionImporter.CodeGenerationOptions プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からServiceDescriptionImporter.CodeGenerationOptions プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からServiceDescriptionImporter.CodeGenerationOptions プロパティ を検索

英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「ServiceDescriptionImporter.CodeGenerationOptions プロパティ」の関連用語

ServiceDescriptionImporter.CodeGenerationOptions プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ServiceDescriptionImporter.CodeGenerationOptions プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS