ElementTypeDescriptor.GetDisplayProperties 메서드 (ModelElement, PropertyDescriptor%)

모델 요소의 모든 속성에 대 한 속성 설명자의 컬렉션을 반환 합니다.

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

구문

‘선언
Protected Function GetDisplayProperties ( _
    requestor As ModelElement, _
    ByRef defaultPropertyDescriptor As PropertyDescriptor _
) As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetDisplayProperties(
    ModelElement requestor,
    ref PropertyDescriptor defaultPropertyDescriptor
)

매개 변수

반환 값

형식: System.ComponentModel.PropertyDescriptorCollection
모든 모델 요소의 속성에 대 한 속성 설명자의 컬렉션입니다.

예외

예외 조건
ArgumentNullException

requestor가 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

설명

모델 요소 삭제 하도록 표시 되어 있으면이 메서드는 빈 컬렉션을 반환 하며 업데이트 하지 않습니다는 defaultPropertyDescriptor.

이 메서드를 추가 하거나 다음 규칙에 따라 도메인 등록 정보에 대 한 설명자를 제외 시킵니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

ElementTypeDescriptor 클래스

GetDisplayProperties 오버로드

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

ShouldCreatePropertyDescriptor

IncludeOppositeRolePlayerProperties

IncludeEmbeddingRelationshipProperties

DefaultDomainProperty