다음을 통해 공유


CustomPropertyDescriptor 클래스

DomainRelationship CustomPropertyDescriptor는 형식 설명자를 속성 경로에 연결하므로 사용자 지정 속성 설명자를 정의합니다.

상속 계층 구조

System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.ElementLink
      Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor

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

구문

‘선언
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainModelOwnerAttribute(GetType(DslDefinitionModelDomainModel))> _
<CLSCompliantAttribute(True)> _
<DomainRelationshipAttribute(IsEmbedding := True)> _
<DomainObjectIdAttribute("7ca5645c-dca6-4128-8864-b70deacb107d")> _
Public NotInheritable Class CustomPropertyDescriptor _
    Inherits ElementLink
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainModelOwnerAttribute(typeof(DslDefinitionModelDomainModel))]
[CLSCompliantAttribute(true)]
[DomainRelationshipAttribute(IsEmbedding = true)]
[DomainObjectIdAttribute("7ca5645c-dca6-4128-8864-b70deacb107d")]
public sealed class CustomPropertyDescriptor : ElementLink

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

생성자

  이름 설명
Public 메서드 CustomPropertyDescriptor(DomainTypeDescriptor, PropertyPath) 생성자가 지정된 DomainTypeDescriptor와 동일한 파티션에 CustomPropertyDescriptor 링크를 만듭니다.
Public 메서드 CustomPropertyDescriptor(Partition, array<RoleAssignment[]) 생성자
Public 메서드 CustomPropertyDescriptor(Store, array<RoleAssignment[]) 생성자
Public 메서드 CustomPropertyDescriptor(Partition, array<RoleAssignment[], array<PropertyAssignment[]) 생성자
Public 메서드 CustomPropertyDescriptor(Store, array<RoleAssignment[], array<PropertyAssignment[]) 생성자

위쪽

속성

  이름 설명
Public 속성 Category Category 도메인 속성 값을 가져오거나 설정합니다.속성이 속성 창에 표시되는 범주입니다.
Public 속성 DisplayName DisplayName 도메인 속성 값을 가져오거나 설정합니다.속성에 대해 생성된 디자이너에 표시될 이름입니다.
Public 속성 DistantPropertyPath DomainRole DistantPropertyPath
Public 속성 GeneratesCustomPropertyDescriptor GeneratesCustomPropertyDescriptor 도메인 속성 값을 가져오거나 설정합니다.True인 경우 사용자 지정 속성 설명자가 생성됩니다.
Public 속성 Id 요소의 ID를 가져옵니다. (ModelElement에서 상속됨)
Public 속성 IsActive IsActive 플래그를 가져오고 요소가 활성 상태인지 여부를 확인합니다. (ModelElement에서 상속됨)
Public 속성 IsDeleted IsDeleted 플래그를 가져오고 요소가 모델에서 삭제되었는지 여부를 확인합니다. (ModelElement에서 상속됨)
Public 속성 IsDeleting IsDeleting 플래그를 가져오고 요소가 현재 모델에서 삭제되고 있는지 여부를 확인합니다. (ModelElement에서 상속됨)
Public 속성 IsUIReadOnly IsUIReadOnly 도메인 속성 값을 가져오거나 설정합니다.True인 경우 속성을 탐색할 때 UI를 통해 편집할 수 없습니다.
Public 속성 LinkedElements 이 요소 링크로 연결되는 요소의 읽기 전용 컬렉션을 가져옵니다. (ElementLink에서 상속됨)
Public 속성 Partition 요소가 들어 있는 Partition을 가져오거나 설정합니다. (ModelElement에서 상속됨)
Public 속성 Store 요소가 포함된 Store를 가져옵니다. (ModelElement에서 상속됨)
Public 속성 TypeDescriptor 형식 설명자에 포함되는 속성을 식별하는 DomainRole TypeDescriptor 경로입니다.

위쪽

메서드

  이름 설명
Public 메서드 Copy() 모델에 요소의 복사본을 만듭니다. (ModelElement에서 상속됨)
Public 메서드 Copy(IEnumerable<Guid>) 요소와 해당 요소의 자식 링크 및 자식 요소에 대한 복사본을 만듭니다. (ModelElement에서 상속됨)
Public 메서드 Delete() 모델에서 요소를 삭제합니다. (ModelElement에서 상속됨)
Public 메서드 Delete(array<Guid[]) 모델에서 요소를 삭제합니다. (ModelElement에서 상속됨)
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Public 메서드 GetDomainClass 이 요소에 대해 가장 많이 파생된 도메인 클래스를 가져옵니다. (ModelElement에서 상속됨)
Public 메서드 GetDomainRelationship 이 링크가 인스턴스화하는 도메인 관계를 가져옵니다. (ElementLink에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드정적 멤버 GetLink 지정된 DomainTypeDescriptor와 PropertyPath 사이의 CustomPropertyDescriptor 링크 하나를 가져옵니다.
Public 메서드정적 멤버 GetLinks 지정된 DomainTypeDescriptor와 PropertyPath 사이의 모든 CustomPropertyDescriptor 링크를 가져옵니다.
Public 메서드정적 멤버 GetLinksToPathsOfCustomPropertyDescriptors DomainTypeDescriptor에 대한 CustomPropertyDescriptor 링크의 목록을 가져옵니다.
Public 메서드정적 멤버 GetLinkToTypeDescriptor PropertyPath에 대한 CustomPropertyDescriptor 링크를 가져옵니다.
Public 메서드정적 멤버 GetPathsOfCustomPropertyDescriptors PathsOfCustomPropertyDescriptors의 목록을 가져옵니다.
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드정적 멤버 GetTypeDescriptor TypeDescriptor를 가져옵니다.
Public 메서드 MoveBefore 요소에 연결된 링크의 순서를 변경하여 이 링크를 다른 링크 앞으로 이동합니다. (ElementLink에서 상속됨)
Public 메서드 MoveToIndex 이 링크를 목록에서 지정된 인덱스 위치로 이동합니다. (ElementLink에서 상속됨)
Protected 메서드 OnCopy 이 요소가 다른 요소의 복사본으로 만들어졌으면 호출됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnDeleted 이 요소가 모델에서 삭제되었으면 호출됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnDeleting 이 요소가 삭제되려고 하면 호출됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnResurrected 이 요소가 모델에 다시 추가되었으면 호출됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnRolePlayerPositionChanged 역할의 위치가 바뀌면 호출됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnRolePlayerPositionChanging 역할 수행자 위치가 변경되려고 하면 호출됩니다. (ModelElement에서 상속됨)
Public 메서드정적 멤버 SetTypeDescriptor TypeDescriptor를 설정합니다.
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

확장 메서드

  이름 설명
Public 확장 메서드 AddExtension(Guid) 오버로드되었습니다. 식별된 도메인 형식의 새로 인스턴스화된 확장을 사용하여 이 ModelElement를 확장합니다.요소에 이미 해당 형식의 확장이 있으면 InvalidOperationException이 throw됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension(Type) 오버로드되었습니다. 지정된 형식의 새로 인스턴스화된 확장을 사용하여 이 ModelElement를 확장합니다.요소에 이미 해당 형식의 확장이 있으면 InvalidOperationException이 throw됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension(DomainClassInfo) 오버로드되었습니다. 지정된 도메인 형식의 새로 인스턴스화된 확장을 사용하여 이 ModelElement를 확장합니다.요소에 이미 해당 형식의 확장이 있으면 InvalidOperationException이 throw됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension(ExtensionElement) 오버로드되었습니다. 특정 확장을 사용하여 이 ModelElement를 확장합니다.요소에 이미 같은 형식의 확장이 있으면 InvalidOperationException이 throw됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension<T>() 오버로드되었습니다. 특정 형식의 새로 인스턴스화된 확장을 사용하여 이 ModelElement를 확장합니다.요소에 이미 같은 형식의 확장이 있으면 InvalidOperationException이 throw됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 CanDelete 모델에서 요소를 삭제합니다. (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 GetAllExtensions 이 ModelElement에 포함되어 있는 확장 요소 트리에서 너비 우선 탐색을 수행하는 열거형을 반환합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetBaseElement 지정된 ModelElement가 참여 중인 가상 MEL의 루트를 반환합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension(Guid) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension(Type) 오버로드되었습니다. 이 ModelElement의 사용 가능한 확장에서 지정된 형식의 ExtensionElement를 가져옵니다.요소에 이런 확장명이 없는 경우 Invalidoperationexception은 발생하지 않습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension(DomainClassInfo) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension<T>() 오버로드되었습니다. 이 ModelElement의 사용 가능한 확장에서 지정된 형식의 ExtensionElement를 가져옵니다.요소에 이런 확장명이 없는 경우 Invalidoperationexception은 발생하지 않습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetLocks 이 요소의 잠금 플래그를 가져옵니다.여기에는 요소를 포함하는 파티션에서 사용하도록 설정되어 있는 모든 잠금이 포함됩니다. (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 IsExtendedBy(Guid) 오버로드되었습니다. 이 ModelElement가 현재 특정 형식의 ExtensionElement에 의해 확장되는지 여부를 쿼리합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 IsExtendedBy(Type) 오버로드되었습니다. 이 ModelElement가 현재 특정 형식의 ExtensionElement에 의해 확장되는지 여부를 쿼리합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 IsExtendedBy(DomainClassInfo) 오버로드되었습니다. 이 ModelElement가 현재 특정 형식의 ExtensionElement에 의해 확장되는지 여부를 쿼리합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 IsLocked 이 요소에 지정된 잠금 집합이 있는지 여부를 테스트합니다. (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(Type) 오버로드되었습니다. 특정 형식인 이 ModelElement의 확장명을 제거합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(Guid) 오버로드되었습니다. 특정 형식의 지정된 ModelElement의 확장명을 제거합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(DomainClassInfo) 오버로드되었습니다. 특정 형식의 지정된 ModelElement의 확장명을 제거합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(ExtensionElement) 오버로드되었습니다. 이 ModelElement의 확장명에서 지정된 ExtensionElement를 제거합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 SetLocks 이 요소의 잠금 플래그를 설정합니다. (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension(Guid) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension(Type) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension(DomainClassInfo) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension<T>() 오버로드되었습니다. 이 ModelElement의 사용 가능한 확장에서 지정된 형식의 ExtensionElement를 가져옵니다.이 요소에 이런 확장명이 없는 경우 결과는 null입니다. (ModelElementExtensionMethods에서 정의됨)

위쪽

필드

  이름 설명
Public 필드정적 멤버 CategoryDomainPropertyId 범주 도메인 속성 ID입니다.
Public 필드정적 멤버 DisplayNameDomainPropertyId DisplayName 도메인 속성 ID입니다.
Public 필드정적 멤버 DistantPropertyPathDomainRoleId DistantPropertyPath 도메인 역할 ID입니다.
Public 필드정적 멤버 DomainClassId CustomPropertyDescriptor 도메인 클래스 ID입니다.
Public 필드정적 멤버 GeneratesCustomPropertyDescriptorDomainPropertyId GeneratesCustomPropertyDescriptor 도메인 속성 ID입니다.
Public 필드정적 멤버 IsUIReadOnlyDomainPropertyId IsUIReadOnly 도메인 속성 ID입니다.
Public 필드정적 멤버 TypeDescriptorDomainRoleId TypeDescriptor 도메인 역할 ID입니다.

위쪽

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현Private 메서드 IMergeElements.CanMerge 이 요소를 프로토타입의 콘텐츠와 함께 병합할 수 있는 경우 true를 반환합니다. (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.ChooseMergeTarget(ElementGroup) (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.ChooseMergeTarget(ElementGroupPrototype) (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.MergeConfigure (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.MergeDisconnect (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.MergeRelate (ModelElement에서 상속됨)

위쪽

스레드로부터의 안전성

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

참고 항목

참조

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