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 형식에서는 다음과 같은 멤버를 노출합니다.
생성자
이름 | 설명 | |
---|---|---|
TrackingPropertyDescriptor(ModelElement, DomainPropertyInfo, DomainPropertyInfo, array<Attribute[]) | TrackingPropertyDescriptor 클래스의 새 인스턴스를 초기화합니다. | |
TrackingPropertyDescriptor(ElementTypeDescriptor, ModelElement, DomainPropertyInfo, DomainPropertyInfo, array<Attribute[]) | 새 인스턴스를 초기화를 TrackingPropertyDescriptor 클래스 및 기본 값 공급자를 지정 합니다. |
위쪽
속성
이름 | 설명 | |
---|---|---|
AttributeArray | 특성 배열을 가져오거나 설정합니다. (MemberDescriptor에서 상속됨) | |
Attributes | 이 멤버에 대한 특성 컬렉션을 가져옵니다. (MemberDescriptor에서 상속됨) | |
Category | 속성에 표시 되어 있는 경우 도메인 속성을 그룹화 할 범주를 가져옵니다는 PropertyGrid 항목별 모드로 설정 된 컨트롤입니다. (ElementPropertyDescriptor에서 상속됨) | |
ComponentType | 이 속성을 바인딩된 모델 요소의 형식을 가져옵니다. (ElementPropertyDescriptor에서 상속됨) | |
Converter | 변환기를 대 한 설명된 속성을 가져옵니다. (ElementPropertyDescriptor에서 상속됨) | |
Description | 설명된 속성에 지정 된 대로 설명을 가져옵니다는 DescriptionResourceAttribute. (ElementPropertyDescriptor에서 상속됨) | |
DesignTimeOnly | DesignOnlyAttribute 에 지정된, 이 멤버가 디자인 타임에만 설정되어야 하는지 여부를 가져옵니다. (MemberDescriptor에서 상속됨) | |
DisplayName | 설명된에 지정 된 속성의 표시 이름을 가져옵니다는 DisplayNameResourceAttribute. (ElementPropertyDescriptor에서 상속됨) | |
DomainPropertyInfo | 이 속성 설명자를 만드는 데 사용 된 속성 정보 개체를 가져옵니다. (ElementPropertyDescriptor에서 상속됨) | |
IsBrowsable | BrowsableAttribute 에 지정된, 해당 멤버를 찾아볼 수 있는지 여부를 나타내는 값을 가져옵니다. (MemberDescriptor에서 상속됨) | |
IsInstanceBased | 이 PropertyDescriptor 인스턴스 또는 정적 형식을 기반으로 하는 경우 테스트 합니다. (ElementPropertyDescriptor에서 상속됨) | |
IsLocalizable | LocalizableAttribute 에 지정된, 이 속성이 지역화되어야 하는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨) | |
IsReadOnly | 설명된 속성이 읽기 전용인 지 여부를 나타내는 값을 가져옵니다. (ElementPropertyDescriptor에서 상속됨) | |
ModelElement | 이 속성 설명자를 만드는 데 사용 된 모델 요소를 가져옵니다. (ElementPropertyDescriptor에서 상속됨) | |
Name | 해당 멤버의 이름을 가져옵니다. (MemberDescriptor에서 상속됨) | |
NameHashCode | GetHashCode 에 지정된, 멤버 이름의 해시 코드를 가져옵니다. (MemberDescriptor에서 상속됨) | |
PropertyType | 설명된 속성의 속성 형식을 가져옵니다. (ElementPropertyDescriptor에서 상속됨) | |
SerializationVisibility | DesignerSerializationVisibilityAttribute 에 지정된, 이 속성이 serialize되어야 하는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨) | |
SupportsChangeEvents | 이 속성의 값 변경 알림이 속성 설명자 외부에서 발생되었는지 여부를 나타내는 값을 가져옵니다. (PropertyDescriptor에서 상속됨) |
위쪽
메서드
위쪽
설명
이 동적 사용자 지정 속성 정보를 추적 하는 속성을 제공합니다.
도메인 관련 언어 도구 (DSL 도구)이이 사용자에 의해 업데이트 될 때까지, 다른 도메인의 등록 정보 값을 기준으로 계산 됩니다 도메인 클래스 속성을 나타내는 데 사용 합니다.이 형식의 추적 속성 도메인 모델의 속성 표를 처리 하 고 및 설명된 속성을 수정 하는 트랜잭션을 제공 하는 방법 제어 합니다.
추적 속성을 두 가지 상태가 있습니다: 추적 하 고 사용자가 업데이트 된.이 상태를 두 번째, 부울 속성으로 표시 됩니다 때 지정한 추적 속성 설명자를 만듭니다.기본적으로, 부울 속성의 값 이어야 합니다 true, 추적 상태에 해당 합니다.
이 설명자를 제어 하는지 여부는 재설정 명령을 바로 가기 메뉴에서 속성에 대 한 속성 표를 사용 하 고 추적 속성을 다시 설정할 때 연결 된 부울 속성 값을 업데이트 합니다.
호출자 참고 사항
DSL 정의에 추적 속성을 추가 하는 다음과 같은 기능을 구현 합니다.
각 사용자 지정 속성 값 변경 처리기 속성을 추적 합니다.
반환 된 추적 하는 사용자 지정 형식 설명자 각 추적 속성에 대 한 속성 설명자입니다.
모든 속성 예: 추적 방법에 그 값 연결 된 부울 속성이 있을 때 계산 true.
저장소를 같이 만들어질 때마다 모든 추적 속성 값이 올바르게 설정 되어 있는지 확인 해야 생성 및 DSL 모델 로드 중입니다.
스레드로부터의 안전성
이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.
참고 항목
참조
Microsoft.VisualStudio.Modeling.Design 네임스페이스