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 クラス


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

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

辞書ショートカット

すべての辞書の索引

「RootDesignerSerializerAttribute クラス」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS