Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub New ( _
sourcePlayer As ModelElement, _
domainRole As DomainRoleInfo, _
sourceDomainRoleInfoAttributes As Attribute() _
)
'使用
Dim sourcePlayer As ModelElement
Dim domainRole As DomainRoleInfo
Dim sourceDomainRoleInfoAttributes As Attribute()
Dim instance As New RolePlayerPropertyDescriptor(sourcePlayer, _
domainRole, sourceDomainRoleInfoAttributes)
public RolePlayerPropertyDescriptor(
ModelElement sourcePlayer,
DomainRoleInfo domainRole,
Attribute[] sourceDomainRoleInfoAttributes
)
public:
RolePlayerPropertyDescriptor(
ModelElement^ sourcePlayer,
DomainRoleInfo^ domainRole,
array<Attribute^>^ sourceDomainRoleInfoAttributes
)
public function RolePlayerPropertyDescriptor(
sourcePlayer : ModelElement,
domainRole : DomainRoleInfo,
sourceDomainRoleInfoAttributes : Attribute[]
)
Parameters
- sourcePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElement
- domainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
- sourceDomainRoleInfoAttributes
Type: []
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RolePlayerPropertyDescriptor Class