ElementTypeDescriptor.ShouldCreatePropertyDescriptor 메서드
지정된 도메인 속성에 대해 설명자를 만들어야 하는지 여부를 나타내는 값을 반환합니다.
네임스페이스: Microsoft.VisualStudio.Modeling.Design
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.12.0(Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
구문
‘선언
Protected Overridable Function ShouldCreatePropertyDescriptor ( _
requestor As ModelElement, _
domainProperty As DomainPropertyInfo _
) As Boolean
protected virtual bool ShouldCreatePropertyDescriptor(
ModelElement requestor,
DomainPropertyInfo domainProperty
)
매개 변수
- requestor
형식: Microsoft.VisualStudio.Modeling.ModelElement
도메인 속성이 있는 모델 요소입니다.
- domainProperty
형식: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
값을 반환할 도메인 속성입니다.
반환 값
형식: System.Boolean
도메인 속성의 BrowsableAttribute 특성에 대한 Browsable 속성의 값이거나, 이 속성에 BrowsableAttribute가 없으면 true입니다.
예외
예외 | 조건 |
---|---|
ArgumentNullException | domainProperty가 nullNull 참조(Visual Basic의 경우 Nothing)입니다. |
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.