ElementTypeDescriptor.ShouldCreateCollectionPropertyDescriptor 메서드
관계와 관련 된 인스턴스 수준 역할 수행자에 대 한 속성 설명자의 컬렉션을 만들 것인지 여부를 반환합니다
네임스페이스: Microsoft.VisualStudio.Modeling.Design
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.11.0(Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
구문
‘선언
Protected Overridable Function ShouldCreateCollectionPropertyDescriptor ( _
sourceRolePlayer As ModelElement, _
sourceRole As DomainRoleInfo _
) As Boolean
protected virtual bool ShouldCreateCollectionPropertyDescriptor(
ModelElement sourceRolePlayer,
DomainRoleInfo sourceRole
)
매개 변수
- sourceRolePlayer
형식: Microsoft.VisualStudio.Modeling.ModelElement
소스 역할 수행자입니다.이 형식 수준 Typedescriptor의 null입니다.
- sourceRole
형식: Microsoft.VisualStudio.Modeling.DomainRoleInfo
관련된 소스 역할
반환 값
형식: System.Boolean
컬렉션에 대 한 속성 설명자를 만들지 여부를 나타내는 플래그
설명
기본 구현에서는 소스 요소에 대해 Propertydescriptors를 만듭니다.ExtensionExtendsElement.ModelElement 컬렉션을 명시적으로 제외 됩니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.