RolePlayerPropertyDescriptor 생성자 (ModelElement, DomainRoleInfo, array<Attribute )
RolePlayerPropertyDescriptor 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.VisualStudio.Modeling.Design
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.11.0(Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
구문
‘선언
Public Sub New ( _
element As ModelElement, _
domainRole As DomainRoleInfo, _
domainRoleInfoAttributes As Attribute() _
)
public RolePlayerPropertyDescriptor(
ModelElement element,
DomainRoleInfo domainRole,
Attribute[] domainRoleInfoAttributes
)
매개 변수
- element
형식: Microsoft.VisualStudio.Modeling.ModelElement
이 RolePlayerPropertyDescriptor 역할 속성이 나타내는 모델 요소는.
- domainRole
형식: Microsoft.VisualStudio.Modeling.DomainRoleInfo
모델 요소에 연결 되는 링크에서의 역할에 대 한 메타 데이터입니다.
- domainRoleInfoAttributes
형식: array<System.Attribute[]
특성 속성 설명자 동작을 수정 합니다.
예외
예외 | 조건 |
---|---|
ArgumentNullException | sourcePlayer 또는 domainRole 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우 |
NotSupportedException | 도메인 역할에 이름이 없습니다. |
ArgumentException | 다중성이 0 일을 나 일대일 도메인 역할이 없습니다. |
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.
참고 항목
참조
RolePlayerPropertyDescriptor 클래스
RolePlayerPropertyDescriptor 오버로드
Microsoft.VisualStudio.Modeling.Design 네임스페이스
Link
SourcePlayer
Store