RootDesignerSerializerAttribute 클래스

정의

주의

This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). https://go.microsoft.com/fwlink/?linkid=14202

주의

RootDesignerSerializerAttribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)) instead.

주의

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

주의

This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). https://go.microsoft.com/fwlink/?linkid=14202

루트 디자이너 개체에 대해 사용할 기본 serializer를 나타냅니다. 이 클래스는 상속될 수 없습니다.

public ref class RootDesignerSerializerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
[System.Obsolete("This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). https://go.microsoft.com/fwlink/?linkid=14202")]
public sealed class RootDesignerSerializerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RootDesignerSerializerAttribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)) instead.")]
public sealed class RootDesignerSerializerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
[System.Obsolete("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
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
[System.Obsolete("This attribute has been deprecated. Use DesignerSerializerAttribute instead.  For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  https://go.microsoft.com/fwlink/?linkid=14202")]
public sealed class RootDesignerSerializerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
public sealed class RootDesignerSerializerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). https://go.microsoft.com/fwlink/?linkid=14202")>]
type RootDesignerSerializerAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RootDesignerSerializerAttribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)) instead.")>]
type RootDesignerSerializerAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("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")>]
type RootDesignerSerializerAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("This attribute has been deprecated. Use DesignerSerializerAttribute instead.  For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  https://go.microsoft.com/fwlink/?linkid=14202")>]
type RootDesignerSerializerAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)>]
type RootDesignerSerializerAttribute = class
    inherit Attribute
Public NotInheritable Class RootDesignerSerializerAttribute
Inherits Attribute
상속
RootDesignerSerializerAttribute
특성

예제

다음 예제 코드는 구성 요소에 를 RootDesignerSerializerAttribute 적용합니다.

   [DesignerSerializer(CodeDomSerializerSample::MyCodeDomSerializer::typeid,
      CodeDomSerializer::typeid)]
   public ref class MyComponent: public Component
   {
   private:
      String^ localProperty;

   public:
      MyComponent()
      {
         localProperty = "Component Property Value";
      }

      property String^ LocalProperty 
      {
         String^ get()
         {
            return localProperty;
         }
         void set( String^ value )
         {
            localProperty = value;
         }
      }
   };
}
[DesignerSerializer(typeof(MyCodeDomSerializer), typeof(CodeDomSerializer))]
public class MyComponent : Component {
    private string localProperty = "Component Property Value";
    public string LocalProperty {
        get {
            return localProperty;
        }
        set {
            localProperty = value;
        }
    }
}
<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

설명

RootDesignerSerializerAttribute 는 serialization 관리자가 디자인 문서를 직렬화할 때 사용할 직렬 변환기를 나타내며, 지정된 serializer가 먼저 문서를 완전히 삭제하지 않고 디자인 문서의 자동 다시 로드를 지원하는지 여부를 나타냅니다.

이 특성에는 다음과 같은 중요한 멤버가 포함됩니다.

  • SerializerTypeName 는 디자인 타임에 클래스를 serialize하는 데 사용할 serialization 개체를 나타냅니다.

  • SerializerBaseTypeName 는 serialization 개체의 기본 형식의 정규화된 이름을 나타냅니다.

  • Reloadable 는 직렬 변환기가 새 디자이너 뷰를 열기 위해 사용자 상호 작용 없이 디자인 문서 다시 로드를 지원하는지 여부를 나타냅니다.

생성자

RootDesignerSerializerAttribute(String, String, Boolean)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 특성을 사용하는 RootDesignerSerializerAttribute 클래스의 새 인스턴스를 초기화합니다.

RootDesignerSerializerAttribute(String, Type, Boolean)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 특성을 사용하는 RootDesignerSerializerAttribute 클래스의 새 인스턴스를 초기화합니다.

RootDesignerSerializerAttribute(Type, Type, Boolean)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 특성을 사용하는 RootDesignerSerializerAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

Reloadable
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

루트 serializer가 디자이너 호스트를 먼저 삭제하지 않고 디자인 문서의 재로딩을 지원하는지 여부를 나타내는 값을 가져옵니다.

SerializerBaseTypeName
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

serializer의 기본 형식의 정규화된 형식 이름을 가져옵니다.

SerializerTypeName
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

serializer의 정규화된 형식 이름을 가져옵니다.

TypeId
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 특성 형식의 고유 ID를 가져옵니다.

메서드

Equals(Object)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 인스턴스가 지정된 개체와 같은지를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
GetHashCode()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이 인스턴스의 해시 코드를 반환합니다.

(다음에서 상속됨 Attribute)
GetType()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
IsDefaultAttribute()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

파생 클래스에서 재정의된 경우 이 인스턴스 값이 파생 클래스에 대한 기본값인지 여부를 표시합니다.

(다음에서 상속됨 Attribute)
Match(Object)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

파생 클래스에서 재정의된 경우 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
MemberwiseClone()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

이름 집합을 해당하는 디스패치 식별자 집합에 매핑합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

인터페이스의 형식 정보를 가져오는 데 사용할 수 있는 개체의 형식 정보를 검색합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfoCount(UInt32)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

개체에서 제공하는 형식 정보 인터페이스의 수를 검색합니다(0 또는 1).

(다음에서 상속됨 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
사용되지 않음.
사용되지 않음.
사용되지 않음.
사용되지 않음.

개체에서 노출하는 메서드와 속성에 대한 액세스를 제공합니다.

(다음에서 상속됨 Attribute)

적용 대상

추가 정보