DomainRoleAttribute.RolePlayer Property

Gets or sets the domain class playing this role.

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

Syntax

'宣言
Public Property RolePlayer As Type
'使用
Dim instance As DomainRoleAttribute
Dim value As Type

value = instance.RolePlayer

instance.RolePlayer = value
public Type RolePlayer { get; set; }
public:
property Type^ RolePlayer {
    Type^ get ();
    void set (Type^ value);
}
public function get RolePlayer () : Type
public function set RolePlayer (value : Type)

Property Value

Type: System.Type

A domain class.

Permissions

See Also

Reference

DomainRoleAttribute Class

DomainRoleAttribute Members

Microsoft.VisualStudio.Modeling Namespace