RootDesignerSerializerAttributeとは? わかりやすく解説

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

RootDesignerSerializerAttribute クラス

メモ : このクラスは、互換性のために残されています。 旧式でない代替必要な場合は、DesignerSerializerAttribute を使用してください

ルート デザイナ オブジェクトのために使用する基本シリアライザを示します。このクラス継承できません。

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

<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface,
 AllowMultiple:=True, Inherited:=True)> _
<ObsoleteAttribute("This attribute has been deprecated. Use
 DesignerSerializerAttribute instead.  For example, to specify a root designer for
 CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  http://go.microsoft.com/fwlink/?linkid=14202")> _
Public NotInheritable Class
 RootDesignerSerializerAttribute
    Inherits Attribute
Dim instance As RootDesignerSerializerAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple=true,
 Inherited=true)] 
[ObsoleteAttribute("This attribute has been deprecated. Use DesignerSerializerAttribute
 instead.  For example, to specify a root designer for CodeDom,
 use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  http://go.microsoft.com/fwlink/?linkid=14202")] 
public sealed class RootDesignerSerializerAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Interface, AllowMultiple=true,
 Inherited=true)] 
[ObsoleteAttribute(L"This attribute has been deprecated. Use DesignerSerializerAttribute
 instead.  For example, to specify a root designer for CodeDom,
 use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  http://go.microsoft.com/fwlink/?linkid=14202")] 
public ref class RootDesignerSerializerAttribute
 sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface,
 AllowMultiple=true, Inherited=true) */ 
/** @attribute ObsoleteAttribute("This attribute has been deprecated. Use DesignerSerializerAttribute
 instead.  For example, to specify a root designer for CodeDom,
 use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  http://go.microsoft.com/fwlink/?linkid=14202") */ 
public final class RootDesignerSerializerAttribute
 extends Attribute
AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple=true,
 Inherited=true) 
ObsoleteAttribute("This attribute has been deprecated. Use DesignerSerializerAttribute
 instead.  For example, to specify a root designer for CodeDom,
 use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  http://go.microsoft.com/fwlink/?linkid=14202") 
public final class RootDesignerSerializerAttribute
 extends Attribute
解説解説
使用例使用例

RootDesignerSerializerAttributeコンポーネント適用するコード例次に示します

<DesignerSerializer(GetType(MyCodeDomSerializer), GetType(CodeDomSerializer))>
 _
Public Class MyComponent
   Inherits Component
   Private localProperty As String
 = "Component Property Value"

   Public Property LocalProp() As
 String
      Get
         Return localProperty
      End Get
      Set(ByVal Value As
 String)
         localProperty = Value
      End Set
   End Property
End Class 'MyComponent
[DesignerSerializer(typeof(MyCodeDomSerializer), typeof(CodeDomSerializer))]
public class MyComponent : Component {
    private string localProperty = "Component
 Property Value";
    public string LocalProperty {
        get {
            return localProperty;
        }
        set {
            localProperty = value;
        }
    }
}
/** @attribute DesignerSerializer(MyCodeDomSerializer.class,
  CodeDomSerializer.class)
 */

public class MyComponent extends Component
{
    private String localProperty = "Component Property Value";
      
    /** @property 
     */
    public String get_LocalProperty()
    {
        return localProperty;
    } //get_LocalProperty

    /** @property 
     */
    public void set_LocalProperty (String value
 )
    {
        localProperty = value;
    } //set_LocalProperty
} //MyComponent
継承階層継承階層
System.Object
   System.Attribute
    System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RootDesignerSerializerAttribute メンバ
System.ComponentModel.Design.Serialization 名前空間
DesignerSerializerAttribute クラス

RootDesignerSerializerAttribute コンストラクタ (String, String, Boolean)

属性指定して、RootDesignerSerializerAttribute クラス新しインスタンス初期化します。

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

Public Sub New ( _
    serializerTypeName As String, _
    baseSerializerTypeName As String, _
    reloadable As Boolean _
)
Dim serializerTypeName As String
Dim baseSerializerTypeName As String
Dim reloadable As Boolean

Dim instance As New RootDesignerSerializerAttribute(serializerTypeName,
 baseSerializerTypeName, reloadable)
public RootDesignerSerializerAttribute (
    string serializerTypeName,
    string baseSerializerTypeName,
    bool reloadable
)
public:
RootDesignerSerializerAttribute (
    String^ serializerTypeName, 
    String^ baseSerializerTypeName, 
    bool reloadable
)
public RootDesignerSerializerAttribute (
    String serializerTypeName, 
    String baseSerializerTypeName, 
    boolean reloadable
)
public function RootDesignerSerializerAttribute
 (
    serializerTypeName : String, 
    baseSerializerTypeName : String, 
    reloadable : boolean
)

パラメータ

serializerTypeName

シリアライザのデータ型の完全修飾名。

baseSerializerTypeName

シリアライザの基本型の名前。シリアライザの基本型がすべて異なっているため、1 つのクラス複数のシリアライザを組み込むことができます

reloadable

このシリアライザがドキュメント動的な再読み込みサポートする場合trueそれ以外場合false

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RootDesignerSerializerAttribute クラス
RootDesignerSerializerAttribute メンバ
System.ComponentModel.Design.Serialization 名前空間

RootDesignerSerializerAttribute コンストラクタ (String, Type, Boolean)

属性指定して、RootDesignerSerializerAttribute クラス新しインスタンス初期化します。

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

Public Sub New ( _
    serializerTypeName As String, _
    baseSerializerType As Type, _
    reloadable As Boolean _
)
Dim serializerTypeName As String
Dim baseSerializerType As Type
Dim reloadable As Boolean

Dim instance As New RootDesignerSerializerAttribute(serializerTypeName,
 baseSerializerType, reloadable)
public RootDesignerSerializerAttribute (
    string serializerTypeName,
    Type baseSerializerType,
    bool reloadable
)
public:
RootDesignerSerializerAttribute (
    String^ serializerTypeName, 
    Type^ baseSerializerType, 
    bool reloadable
)
public RootDesignerSerializerAttribute (
    String serializerTypeName, 
    Type baseSerializerType, 
    boolean reloadable
)
public function RootDesignerSerializerAttribute
 (
    serializerTypeName : String, 
    baseSerializerType : Type, 
    reloadable : boolean
)

パラメータ

serializerTypeName

シリアライザのデータ型の完全修飾名。

baseSerializerType

シリアライザの基本型の名前。シリアライザの基本型がすべて異なっているため、1 つのクラス複数のシリアライザを組み込むことができます

reloadable

このシリアライザがドキュメント動的な再読み込みサポートする場合trueそれ以外場合false

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RootDesignerSerializerAttribute クラス
RootDesignerSerializerAttribute メンバ
System.ComponentModel.Design.Serialization 名前空間

RootDesignerSerializerAttribute コンストラクタ

属性指定して、RootDesignerSerializerAttribute クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
RootDesignerSerializerAttribute (String, String, Boolean) 属性指定してRootDesignerSerializerAttribute クラス新しインスタンス初期化します。
RootDesignerSerializerAttribute (String, Type, Boolean) 属性指定してRootDesignerSerializerAttribute クラス新しインスタンス初期化します。
RootDesignerSerializerAttribute (Type, Type, Boolean) 属性指定してRootDesignerSerializerAttribute クラス新しインスタンス初期化します。
参照参照

関連項目

RootDesignerSerializerAttribute クラス
RootDesignerSerializerAttribute メンバ
System.ComponentModel.Design.Serialization 名前空間

RootDesignerSerializerAttribute コンストラクタ (Type, Type, Boolean)

属性指定して、RootDesignerSerializerAttribute クラス新しインスタンス初期化します。

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

Public Sub New ( _
    serializerType As Type, _
    baseSerializerType As Type, _
    reloadable As Boolean _
)
Dim serializerType As Type
Dim baseSerializerType As Type
Dim reloadable As Boolean

Dim instance As New RootDesignerSerializerAttribute(serializerType,
 baseSerializerType, reloadable)
public RootDesignerSerializerAttribute (
    Type serializerType,
    Type baseSerializerType,
    bool reloadable
)
public:
RootDesignerSerializerAttribute (
    Type^ serializerType, 
    Type^ baseSerializerType, 
    bool reloadable
)
public RootDesignerSerializerAttribute (
    Type serializerType, 
    Type baseSerializerType, 
    boolean reloadable
)
public function RootDesignerSerializerAttribute
 (
    serializerType : Type, 
    baseSerializerType : Type, 
    reloadable : boolean
)

パラメータ

serializerType

シリアライザのデータ型

baseSerializerType

シリアライザの基本型。シリアライザの基本型がすべて異なっているため、1 つのクラス複数のシリアライザを組み込むことができます

reloadable

このシリアライザがドキュメント動的な再読み込みサポートする場合trueそれ以外場合false

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RootDesignerSerializerAttribute クラス
RootDesignerSerializerAttribute メンバ
System.ComponentModel.Design.Serialization 名前空間

RootDesignerSerializerAttribute プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Reloadable ルート シリアライザが、デザイナ ホスト解放することなく実行されるデザイン ドキュメント再読み込みサポートするかどうかを示す値を取得します
パブリック プロパティ SerializerBaseTypeName シリアライザの基本型の完全修型名取得します
パブリック プロパティ SerializerTypeName シリアライザの完全修型名取得します
パブリック プロパティ TypeId オーバーライドされます。 この属性型一意ID取得します
参照参照

関連項目

RootDesignerSerializerAttribute クラス
System.ComponentModel.Design.Serialization 名前空間
DesignerSerializerAttribute クラス

RootDesignerSerializerAttribute メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Equals  オーバーロードされます。 ( Attribute から継承されます。)
パブリック メソッド GetCustomAttribute  オーバーロードされますアセンブリモジュール、型のメンバ、またはメソッド パラメータ適用され指定した型のカスタム属性取得します。 ( Attribute から継承されます。)
パブリック メソッド GetCustomAttributes  オーバーロードされますアセンブリモジュール、型のメンバ、またはメソッド パラメータ適用されカスタム属性配列取得します。 ( Attribute から継承されます。)
パブリック メソッド GetHashCode  このインスタンスハッシュ コード返します。 ( Attribute から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 ( Object から継承されます。)
パブリック メソッド IsDefaultAttribute  派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラス既定値かどうか示します。 ( Attribute から継承されます。)
パブリック メソッド IsDefined  オーバーロードされます指定した型のカスタム属性が、アセンブリモジュール、型のメンバ、またはメソッド パラメータ適用されているかどうか判断します。 ( Attribute から継承されます。)
パブリック メソッド Match  派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンス等しかどうかを示す値を返します。 ( Attribute から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 ( Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

RootDesignerSerializerAttribute クラス
System.ComponentModel.Design.Serialization 名前空間
DesignerSerializerAttribute クラス

RootDesignerSerializerAttribute メンバ

ルート デザイナ オブジェクトのために使用する基本シリアライザを示します。このクラス継承できません。

RootDesignerSerializerAttribute データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド RootDesignerSerializerAttribute オーバーロードされます属性指定して、RootDesignerSerializerAttribute クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Reloadable ルート シリアライザが、デザイナ ホスト解放することなく実行されるデザイン ドキュメント再読み込みサポートするかどうかを示す値を取得します
パブリック プロパティ SerializerBaseTypeName シリアライザの基本型の完全修型名取得します
パブリック プロパティ SerializerTypeName シリアライザの完全修型名取得します
パブリック プロパティ TypeId オーバーライドされます。 この属性型一意ID取得します
パブリック メソッドパブリック メソッド
( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Equals  オーバーロードされます。 ( Attribute から継承されます。)
パブリック メソッド GetCustomAttribute  オーバーロードされますアセンブリモジュール、型のメンバ、またはメソッド パラメータ適用され指定した型のカスタム属性取得します。 (Attribute から継承されます。)
パブリック メソッド GetCustomAttributes  オーバーロードされますアセンブリモジュール、型のメンバ、またはメソッド パラメータ適用されカスタム属性配列取得します。 (Attribute から継承されます。)
パブリック メソッド GetHashCode  このインスタンスハッシュ コード返します。 (Attribute から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 (Object から継承されます。)
パブリック メソッド IsDefaultAttribute  派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラス既定値かどうか示します。 (Attribute から継承されます。)
パブリック メソッド IsDefined  オーバーロードされます指定した型のカスタム属性が、アセンブリモジュール、型のメンバ、またはメソッド パラメータ適用されているかどうか判断します。 (Attribute から継承されます。)
パブリック メソッド Match  派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンス等しかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 (Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

RootDesignerSerializerAttribute クラス
System.ComponentModel.Design.Serialization 名前空間
DesignerSerializerAttribute クラス



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

辞書ショートカット

すべての辞書の索引

「RootDesignerSerializerAttribute」の関連用語

RootDesignerSerializerAttributeのお隣キーワード
検索ランキング

   

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



RootDesignerSerializerAttributeのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS