TrackingPropertyDescriptor 클래스

추적 속성 모델 요소에 대 한 추가 런타임 형식 정보를 제공합니다.

상속 계층 구조

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
        Microsoft.VisualStudio.Modeling.Design.TrackingPropertyDescriptor
          Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementTrackingPropertyDescriptor

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

구문

‘선언
Public Class TrackingPropertyDescriptor _
    Inherits ElementPropertyDescriptor
public class TrackingPropertyDescriptor : ElementPropertyDescriptor

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

생성자

  이름 설명
Public 메서드 TrackingPropertyDescriptor(ModelElement, DomainPropertyInfo, DomainPropertyInfo, array<Attribute[]) TrackingPropertyDescriptor 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 TrackingPropertyDescriptor(ElementTypeDescriptor, ModelElement, DomainPropertyInfo, DomainPropertyInfo, array<Attribute[]) 새 인스턴스를 초기화를 TrackingPropertyDescriptor 클래스 및 기본 값 공급자를 지정 합니다.

위쪽

속성

  이름 설명
Protected 속성 AttributeArray 특성 배열을 가져오거나 설정합니다. (MemberDescriptor에서 상속됨)
Public 속성 Attributes 이 멤버에 대한 특성 컬렉션을 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 Category 속성에 표시 되어 있는 경우 도메인 속성을 그룹화 할 범주를 가져옵니다는 PropertyGrid 항목별 모드로 설정 된 컨트롤입니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 ComponentType 이 속성을 바인딩된 모델 요소의 형식을 가져옵니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 Converter 변환기를 대 한 설명된 속성을 가져옵니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 Description 설명된 속성에 지정 된 대로 설명을 가져옵니다는 DescriptionResourceAttribute. (ElementPropertyDescriptor에서 상속됨)
Public 속성 DesignTimeOnly DesignOnlyAttribute 에 지정된, 이 멤버가 디자인 타임에만 설정되어야 하는지 여부를 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 DisplayName 설명된에 지정 된 속성의 표시 이름을 가져옵니다는 DisplayNameResourceAttribute. (ElementPropertyDescriptor에서 상속됨)
Public 속성 DomainPropertyInfo 이 속성 설명자를 만드는 데 사용 된 속성 정보 개체를 가져옵니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 IsBrowsable BrowsableAttribute 에 지정된, 해당 멤버를 찾아볼 수 있는지 여부를 나타내는 값을 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 IsInstanceBased 이 PropertyDescriptor 인스턴스 또는 정적 형식을 기반으로 하는 경우 테스트 합니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 IsLocalizable LocalizableAttribute 에 지정된, 이 속성이 지역화되어야 하는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨)
Public 속성 IsReadOnly 설명된 속성이 읽기 전용인 지 여부를 나타내는 값을 가져옵니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 ModelElement 이 속성 설명자를 만드는 데 사용 된 모델 요소를 가져옵니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 Name 해당 멤버의 이름을 가져옵니다. (MemberDescriptor에서 상속됨)
Protected 속성 NameHashCode GetHashCode 에 지정된, 멤버 이름의 해시 코드를 가져옵니다. (MemberDescriptor에서 상속됨)
Public 속성 PropertyType 설명된 속성의 속성 형식을 가져옵니다. (ElementPropertyDescriptor에서 상속됨)
Public 속성 SerializationVisibility DesignerSerializationVisibilityAttribute 에 지정된, 이 속성이 serialize되어야 하는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨)
Public 속성 SupportsChangeEvents 이 속성의 값 변경 알림이 속성 설명자 외부에서 발생되었는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 AddValueChanged (ElementPropertyDescriptor에서 상속됨)
Public 메서드 CanResetValue Domain 속성의 값을 다시 설정할 수 있습니다 여부를 나타냅니다. (ElementPropertyDescriptor.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에서 상속됨)
Public 메서드 GetEditor 설명 속성의 값 편집기를 반환합니다. (ElementPropertyDescriptor에서 상속됨)
Public 메서드 GetHashCode 해당 개체의 해시 코드를 반환합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 GetInvocationTarget 이 메서드는 멤버를 호출하는 동안 사용해야 하는 개체를 반환합니다. (PropertyDescriptor에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 GetTypeFromName 해당 이름을 사용하는 형식을 반환합니다. (PropertyDescriptor에서 상속됨)
Public 메서드 GetValue Domain 속성의 값을 가져옵니다. (ElementPropertyDescriptor에서 상속됨)
Protected 메서드 GetValueChangedHandler 특정 구성 요소에 대한 ValueChanged 이벤트 처리기의 현재 집합을 검색합니다. (PropertyDescriptor에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Protected 메서드 OnValueChanged 구현된 ValueChanged 이벤트를 발생시킵니다. (PropertyDescriptor에서 상속됨)
Public 메서드 RemoveValueChanged (ElementPropertyDescriptor에서 상속됨)
Public 메서드 ResetValue Tracking 속성 값을 다시 설정 합니다. (ElementPropertyDescriptor.ResetValue(Object)을(를) 재정의함)
Public 메서드 SetValue Domain 속성의 값을 설정 합니다. (ElementPropertyDescriptor에서 상속됨)
Public 메서드 ShouldSerializeValue Tracking 속성 값을 serialize 할지 여부를 나타냅니다. (ElementPropertyDescriptor.ShouldSerializeValue(Object)을(를) 재정의함)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

설명

이 동적 사용자 지정 속성 정보를 추적 하는 속성을 제공합니다.

도메인 관련 언어 도구 (DSL 도구)이이 사용자에 의해 업데이트 될 때까지, 다른 도메인의 등록 정보 값을 기준으로 계산 됩니다 도메인 클래스 속성을 나타내는 데 사용 합니다.이 형식의 추적 속성 도메인 모델의 속성 표를 처리 하 고 및 설명된 속성을 수정 하는 트랜잭션을 제공 하는 방법 제어 합니다.

추적 속성을 두 가지 상태가 있습니다: 추적 하 고 사용자가 업데이트 된.이 상태를 두 번째, 부울 속성으로 표시 됩니다 때 지정한 추적 속성 설명자를 만듭니다.기본적으로, 부울 속성의 값 이어야 합니다 true, 추적 상태에 해당 합니다.

이 설명자를 제어 하는지 여부는 재설정 명령을 바로 가기 메뉴에서 속성에 대 한 속성 표를 사용 하 고 추적 속성을 다시 설정할 때 연결 된 부울 속성 값을 업데이트 합니다.

호출자 참고 사항

DSL 정의에 추적 속성을 추가 하는 다음과 같은 기능을 구현 합니다.

  • 각 사용자 지정 속성 값 변경 처리기 속성을 추적 합니다.

  • 반환 된 추적 하는 사용자 지정 형식 설명자 각 추적 속성에 대 한 속성 설명자입니다.

  • 모든 속성 예: 추적 방법에 그 값 연결 된 부울 속성이 있을 때 계산 true.

저장소를 같이 만들어질 때마다 모든 추적 속성 값이 올바르게 설정 되어 있는지 확인 해야 생성 및 DSL 모델 로드 중입니다.

스레드로부터의 안전성

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

참고 항목

참조

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

기타 리소스

Defining Domain Properties