RolePlayerPropertyDescriptor 클래스

역할 속성에 대 한 추가 런타임 형식 정보를 제공합니다.

상속 계층 구조

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor

네임스페이스:  Microsoft.VisualStudio.Modeling.Design
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.11.0(Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

구문

‘선언
<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState := True)> _
Public Class RolePlayerPropertyDescriptor _
    Inherits PropertyDescriptor
[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
public class RolePlayerPropertyDescriptor : PropertyDescriptor

RolePlayerPropertyDescriptor 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 RolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo, array<Attribute[]) RolePlayerPropertyDescriptor 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 RolePlayerPropertyDescriptor(Store, DomainRoleInfo, array<Attribute[]) 생성자

위쪽

속성

  이름 설명
Public 속성 AllowNull 역할 설명된 속성에 대해 유효한 값 null 여부를 나타내는 값을 가져오거나 설정 합니다.
Protected 속성 AttributeArray 특성 배열을 가져오거나 설정합니다. (MemberDescriptor에서 상속됨)
Public 속성 Attributes 이 멤버에 대한 특성 컬렉션을 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 Category CategoryAttribute 에 지정된, 해당 멤버가 속해 있는 범주의 이름을 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 ComponentType 이 속성을 연결 하는 데 사용 되는 도메인 요소의 형식을 가져옵니다. (PropertyDescriptor.ComponentType을(를) 재정의함)
Public 속성 Converter 변환기를 대 한 설명된 속성을 가져옵니다. (PropertyDescriptor.Converter을(를) 재정의함)
Public 속성 Description DescriptionAttribute 에 지정된 멤버 설명을 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 DesignTimeOnly DesignOnlyAttribute 에 지정된, 이 멤버가 디자인 타임에만 설정되어야 하는지 여부를 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 DisplayName 역할 설명 된 속성의 표시 이름을 가져옵니다. (MemberDescriptor.DisplayName을(를) 재정의함)
Public 속성 DomainRoleInfo 모델 요소에 연결 되는 링크에서의 역할에 대 한 메타 데이터를 가져옵니다.
Public 속성 ElementList 사용되지 않습니다. 역할 설명된 속성에 대해 유효한 값의 컬렉션을 가져옵니다.
Public 속성 IsBrowsable BrowsableAttribute 에 지정된, 해당 멤버를 찾아볼 수 있는지 여부를 나타내는 값을 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 IsInstanceBased 이 PropertyDescriptor 인스턴스 또는 정적 형식을 기반으로 하는 경우 테스트 합니다.
Public 속성 IsLocalizable LocalizableAttribute 에 지정된, 이 속성이 지역화되어야 하는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨)
Public 속성 IsReadOnly 설명 된 역할 속성 읽기 전용인 지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor.IsReadOnly을(를) 재정의함)
Public 속성 Name 해당 멤버의 이름을 가져옵니다. (MemberDescriptor에서 상속됨)
Protected 속성 NameHashCode GetHashCode 에 지정된, 멤버 이름의 해시 코드를 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 PropertyType 속성의 형식을 가져옵니다. (PropertyDescriptor.PropertyType을(를) 재정의함)
Public 속성 RelationshipInfo 모델 요소 역할 수행자는 링크에 대 한 메타 데이터를 가져옵니다.
Public 속성 RolePlayerMenuCommands 컬렉션을 가져옵니다 RolePlayerMenuCommand 사용자가 특정 항목을 선택할 때 역할 플레이어 인스턴스를 지정 하는 콜백 명령을 나타내는 개체입니다.
Public 속성 SerializationVisibility DesignerSerializationVisibilityAttribute 에 지정된, 이 속성이 serialize되어야 하는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨)
Public 속성 SupportsChangeEvents 이 속성의 값 변경 알림이 속성 설명자 외부에서 발생되었는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 AddValueChanged 추가 이벤트 리스너를 처리 합니다. (PropertyDescriptor.AddValueChanged(Object, EventHandler)을(를) 재정의함)
Protected 메서드 BuildElementList(Object) 유효한 역할 수행자의 목록을 대 한 지정 된 구성 요소의이 속성 값을 가져옵니다.
Protected 메서드 BuildElementList(Object, Boolean) 유효한 역할 수행자에 대 한 지정 된 구성 요소의이 속성 값의 목록을 작성 합니다.
Public 메서드 CanResetValue Domain 속성의 값을 다시 설정할 수 있습니다 여부를 나타냅니다. (PropertyDescriptor.CanResetValue(Object)을(를) 재정의함)
Protected 메서드 CreateAttributeCollection 생성자에 전달된 특성 배열을 사용하여 특성 컬렉션을 만듭니다. (MemberDescriptor에서 상속됨)
Protected 메서드 CreateInstance 지정된 형식의 인스턴스를 만듭니다. (PropertyDescriptor에서 상속됨)
Public 메서드 Equals 이 개체를 다른 개체와 비교하여 두 개체가 같은지 확인합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 FillAttributes PropertyDescriptor 의 특성을 부모 클래스의 지정된 특성 목록에 추가합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetChildProperties() 기본 PropertyDescriptorCollection을 반환합니다. (PropertyDescriptor에서 상속됨)
Public 메서드 GetChildProperties(array<Attribute[]) 지정된 특성 배열을 필터로 사용하여 PropertyDescriptorCollection을 반환합니다. (PropertyDescriptor에서 상속됨)
Public 메서드 GetChildProperties(Object) 지정된 개체에 대해 PropertyDescriptorCollection을 반환합니다. (PropertyDescriptor에서 상속됨)
Public 메서드 GetChildProperties(Object, array<Attribute[]) 지정된 특성 배열을 필터로 사용하여 지정된 개체에 대한 PropertyDescriptorCollection을 반환합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 GetDescribedElement 이 RolePlayerPropertyDescriptor 역할 속성 (예: 표시 되는 모델 요소를 반환 합니다.호스트 요소)입니다.Note이 반드시 관계의 원본이 아닙니다.
Public 메서드 GetEditor 지정된 형식의 편집기를 가져옵니다. (PropertyDescriptor에서 상속됨)
Public 메서드 GetHashCode 해당 개체의 해시 코드를 반환합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 GetInvocationTarget 이 메서드는 멤버를 호출하는 동안 사용해야 하는 개체를 반환합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 GetSetFieldString 이름 값 트랜잭션 집합에 대 한 지역화 된 문자열을 반환합니다.
Public 메서드 GetStore 이 설명자를 통해 작동 합니다. 저장소를 반환 합니다.
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 GetTypeFromName 해당 이름을 사용하는 형식을 반환합니다. (PropertyDescriptor에서 상속됨)
Public 메서드 GetValue 도메인 역할 속성의 값을 가져옵니다. (PropertyDescriptor.GetValue(Object)을(를) 재정의함)
Protected 메서드 GetValueChangedHandler 특정 구성 요소에 대한 ValueChanged 이벤트 처리기의 현재 집합을 검색합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Protected 메서드 OnValueChanged 구현된 ValueChanged 이벤트를 발생시킵니다. (PropertyDescriptor에서 상속됨)
Public 메서드 RemoveValueChanged 이벤트 리스너를 제거를 처리 합니다. (PropertyDescriptor.RemoveValueChanged(Object, EventHandler)을(를) 재정의함)
Public 메서드 ResetValue 역할 속성 값을 다시 설정합니다. (PropertyDescriptor.ResetValue(Object)을(를) 재정의함)
Public 메서드 SetValue 도메인 역할 속성의 값을 설정합니다. (PropertyDescriptor.SetValue(Object, Object)을(를) 재정의함)
Public 메서드 ShouldSerializeValue 역할 속성 값을 serialize 할지 여부를 나타냅니다. (PropertyDescriptor.ShouldSerializeValue(Object)을(를) 재정의함)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

설명

이 클래스는 동적 사용자 지정 속성 정보는 역할 속성을 제공합니다.

ElementTypeDescriptor 모델 요소가 해당 모델 요소의 속성에 대 한 속성 설명자의 컬렉션을 반환할 수 있습니다에 대 한.이 컬렉션 속성 설명자 특정 역할 수행자의 요소는 링크를 포함할 수 있습니다.이러한 속성 설명자가이 클래스의 인스턴스가 됩니다.에 대 한 자세한 내용은 참조 하십시오 Defining Domain Relationships 와의 다음 메서드는 ElementTypeDescriptor 클래스: CreateRolePlayerPropertyDescriptor, GetDisplayProperties, 및 ShouldCreateRolePlayerPropertyDescriptor.

역할 사용자 지정 된 속성 설명자를 만들려면이 클래스에서 상속 하 고 재정의 하는 멤버 중 하나를 합니다.

[!참고]

이 형식 또는 멤버에 적용되는 HostProtectionAttribute 특성의 Resources 속성 값은 SharedState입니다. HostProtectionAttribute는 대개 아이콘을 두 번 클릭하거나, 명령을 입력하거나, 브라우저에서 URL을 입력하여 시작되는 데스크톱 응용 프로그램에 영향을 미치지 않습니다. 자세한 내용은 HostProtectionAttribute 클래스 또는 SQL Server 프로그래밍 및 호스트 보호 특성을 참조하십시오.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.Modeling.Design 네임스페이스

ElementTypeDescriptor

기타 리소스

Defining Domain Relationships