CodeDomSerializerBase.SerializeProperty メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CodeDomSerializerBase.SerializeProperty メソッドの意味・解説 

CodeDomSerializerBase.SerializeProperty メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

指定したオブジェクトのプロパティをシリアル化します。

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

Protected Sub SerializeProperty ( _
    manager As IDesignerSerializationManager, _
    statements As CodeStatementCollection, _
    value As Object, _
    propertyToSerialize As PropertyDescriptor _
)
Dim manager As IDesignerSerializationManager
Dim statements As CodeStatementCollection
Dim value As Object
Dim propertyToSerialize As PropertyDescriptor

Me.SerializeProperty(manager, statements, value, propertyToSerialize)
protected void SerializeProperty (
    IDesignerSerializationManager manager,
    CodeStatementCollection statements,
    Object value,
    PropertyDescriptor propertyToSerialize
)
protected:
void SerializeProperty (
    IDesignerSerializationManager^ manager, 
    CodeStatementCollection^ statements, 
    Object^ value, 
    PropertyDescriptor^ propertyToSerialize
)
protected void SerializeProperty (
    IDesignerSerializationManager manager, 
    CodeStatementCollection statements, 
    Object value, 
    PropertyDescriptor propertyToSerialize
)
protected function SerializeProperty (
    manager : IDesignerSerializationManager, 
    statements : CodeStatementCollection, 
    value : Object, 
    propertyToSerialize : PropertyDescriptor
)

パラメータ

manager

シリアル化に使用する IDesignerSerializationManager。

statements

プロパティをシリアル化した結果を格納する CodeStatementCollection。

value

プロパティをシリアル化する対象となるオブジェクト。

propertyToSerialize

シリアル化するプロパティ。

例外例外
例外の種類条件

ArgumentNullException

manager、value、statements、または propertyToSerialize が null 参照 (Visual Basic では Nothing) です。

解説解説

SerializeProperty メソッドは、propertyToSerialize パラメータの MemberCodeDomSerializer を取得し、処理を代行させます。

SerializeProperty は、statements パラメータと propertyToSerialize パラメータを ContextStack に配置します。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CodeDomSerializerBase クラス
CodeDomSerializerBase メンバ
System.ComponentModel.Design.Serialization 名前空間
IDesignerSerializationManager
ContextStack
CodeStatementCollection
その他の技術情報
動的なソース コードの生成とコンパイル



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

CodeDomSerializerBase.SerializeProperty メソッドのお隣キーワード
検索ランキング

   

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



CodeDomSerializerBase.SerializeProperty メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS