共用方式為


ElementLink.OnRolePlayerChanged 方法

角色扮演者已變更時呼叫。

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

語法

'宣告
Protected Overridable Sub OnRolePlayerChanged ( _
    domainRole As DomainRoleInfo, _
    oldPlayer As ModelElement, _
    newPlayer As ModelElement, _
    linkIndex As Integer _
)
protected virtual void OnRolePlayerChanged(
    DomainRoleInfo domainRole,
    ModelElement oldPlayer,
    ModelElement newPlayer,
    int linkIndex
)

參數

.NET Framework 安全性

請參閱

參考

ElementLink 類別

Microsoft.VisualStudio.Modeling 命名空間