语言

AssociationSetEnd.Role 属性

定义

注意

This property is going away, please use the Name property instead

获取此 AssociationSetEnd角色的 End 角色的名称。

[System.Obsolete("This property is going away, please use the Name property instead")]
public string Role { get; }
member this.Role : string
Public ReadOnly Property Role As String

属性值

此 AssociationSetEnd终结点的 End 角色的名称。

特性

例外

如果在 AssociationSetEnd 实例处于 ReadOnly 状态时调用 Setter,则引发

适用于