Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Overridable Function CreateRolePlayerPropertyDescriptor ( _
sourceRolePlayer As ModelElement, _
targetRoleInfo As DomainRoleInfo, _
sourceDomainRoleInfoAttributes As Attribute() _
) As RolePlayerPropertyDescriptor
'使用
Dim sourceRolePlayer As ModelElement
Dim targetRoleInfo As DomainRoleInfo
Dim sourceDomainRoleInfoAttributes As Attribute()
Dim returnValue As RolePlayerPropertyDescriptor
returnValue = Me.CreateRolePlayerPropertyDescriptor(sourceRolePlayer, _
targetRoleInfo, sourceDomainRoleInfoAttributes)
protected virtual RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor(
ModelElement sourceRolePlayer,
DomainRoleInfo targetRoleInfo,
Attribute[] sourceDomainRoleInfoAttributes
)
protected:
virtual RolePlayerPropertyDescriptor^ CreateRolePlayerPropertyDescriptor(
ModelElement^ sourceRolePlayer,
DomainRoleInfo^ targetRoleInfo,
array<Attribute^>^ sourceDomainRoleInfoAttributes
)
protected function CreateRolePlayerPropertyDescriptor(
sourceRolePlayer : ModelElement,
targetRoleInfo : DomainRoleInfo,
sourceDomainRoleInfoAttributes : Attribute[]
) : RolePlayerPropertyDescriptor
Parameters
- sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElement
- targetRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
- sourceDomainRoleInfoAttributes
Type: []
Return Value
Type: Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
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.