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

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

XmlTypeAttribute.IncludeInSchema プロパティ

XML スキーマ ドキュメントに型を含めかどうかを示す値を取得または設定します

名前空間: System.Xml.Serialization
アセンブリ: System.Xml (system.xml.dll 内)
構文構文

Dim instance As XmlTypeAttribute
Dim value As Boolean

value = instance.IncludeInSchema

instance.IncludeInSchema = value
public bool IncludeInSchema { get;
 set; }
public:
property bool IncludeInSchema {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IncludeInSchema ()

/** @property */
public void set_IncludeInSchema (boolean value)
public function get IncludeInSchema
 () : boolean

public function set IncludeInSchema
 (value : boolean)

プロパティ
XML スキーマ ドキュメントに型を含め場合trueそれ以外場合false

解説解説
使用例使用例

XmlTypeAttributeExtraneousInfo クラス適用しIncludeInSchema プロパティfalse設定する例を次に示します

<XmlType(IncludeInSchema := False)> _
Public Class ExtraneousInfo
    ' Insert the members of the class.
End Class

[XmlType(IncludeInSchema = false)]
public class ExtraneousInfo
{
   // Insert the members of the class.
}

[XmlType(IncludeInSchema=false)]
public ref class ExtraneousInfo{};

/** @attribute XmlType(IncludeInSchema = false)
 */
public class ExtraneousInfo
{
    // Insert the members of the class.
} //ExtraneousInfo
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
XmlTypeAttribute クラス
XmlTypeAttribute メンバ
System.Xml.Serialization 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「XmlTypeAttribute.IncludeInSchema プロパティ」の関連用語

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

   

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



XmlTypeAttribute.IncludeInSchema プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS