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
- sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElement
- sourceRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
Return Value
Type: System.Boolean
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.