ElementTypeDescriptor.ShouldCreateRolePlayerPropertyDescriptor Method

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Protected Overridable Function ShouldCreateRolePlayerPropertyDescriptor ( _
    sourceRolePlayer As ModelElement, _
    sourceRole As DomainRoleInfo _
) As Boolean
'使用
Dim sourceRolePlayer As ModelElement
Dim sourceRole As DomainRoleInfo
Dim returnValue As Boolean

returnValue = Me.ShouldCreateRolePlayerPropertyDescriptor(sourceRolePlayer, _
    sourceRole)
protected virtual bool ShouldCreateRolePlayerPropertyDescriptor(
    ModelElement sourceRolePlayer,
    DomainRoleInfo sourceRole
)
protected:
virtual bool ShouldCreateRolePlayerPropertyDescriptor(
    ModelElement^ sourceRolePlayer, 
    DomainRoleInfo^ sourceRole
)
protected function ShouldCreateRolePlayerPropertyDescriptor(
    sourceRolePlayer : ModelElement, 
    sourceRole : DomainRoleInfo
) : boolean

Parameters

Return Value

Type: System.Boolean

Permissions

See Also

Reference

ElementTypeDescriptor Class

ElementTypeDescriptor Members

Microsoft.VisualStudio.Modeling.Design Namespace