DomainRoleInfo Class

 

Represents a role of a domain relationship.

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

System::Object
  Microsoft.VisualStudio.Modeling::DomainObjectInfo
    Microsoft.VisualStudio.Modeling::DomainRoleInfo

public ref class DomainRoleInfo sealed : DomainObjectInfo

NameDescription
System_CAPS_pubpropertyBaseDomainRole

Gets the base domain role for this role.

System_CAPS_pubpropertyDisplayName

Gets the display name of the element.(Inherited from DomainObjectInfo.)

System_CAPS_pubpropertyDomainModel

Gets the domain model that contains information about this role.(Overrides DomainObjectInfo::DomainModel.)

System_CAPS_pubpropertyDomainRelationship

Gets the domain relationship that this domain role belongs to.

System_CAPS_pubpropertyId

Gets the ID of the element.(Inherited from DomainObjectInfo.)

System_CAPS_pubpropertyIsEmbedding

Gets the domain role and verifies whether the player of this role logically contains the players of the other role or roles in this relationship.

System_CAPS_pubpropertyIsMany

Gets the domain role and verifies whether the multiplicity allows multiple objects.

System_CAPS_pubpropertyIsOne

Gets the domain role and verifies whether the multiplicity allows a maximum of one object.

System_CAPS_pubpropertyIsOptional

Gets the domain role and verifies whether the multiplicity allows zero objects. If it does allow zero objects, this makes it optional.

System_CAPS_pubpropertyIsSource

Gets the domain role and verifies that it is source code.

System_CAPS_pubpropertyLinkPropertyInfo

Gets the property information for this domain role.

System_CAPS_pubpropertyMultiplicity

Gets the multiplicity of this role.

System_CAPS_pubpropertyName

Gets the name of the element.(Inherited from DomainObjectInfo.)

System_CAPS_pubpropertyOppositeDomainRole

Gets the domain role opposite this domain role in the domain relationship.

System_CAPS_pubpropertyPropagatesCopy

Gets the domain role and verifies whether the element playing this role in a link will be copied when the opposite role player element is copied.

System_CAPS_pubpropertyPropagatesDelete

Gets the domain role and verifies whether the element playing this role in a link will be deleted when the opposite role player element or the link itself is deleted.

System_CAPS_pubpropertyPropertyDisplayName

Gets the name of the property that is displayed to the user on the diagram.

System_CAPS_pubpropertyPropertyName

Gets the name of the accessor property for this role on the role player domain class.

System_CAPS_pubpropertyRolePlayer

Gets the domain class that plays this role.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetAllElementLinks(ModelElement^)

Gets a list of all element links that the given element participates in.

System_CAPS_pubmethodGetElementLinks(ModelElement^)

Gets element links when a given element plays this role.

System_CAPS_pubmethodGetElementLinks(ModelElement^, Boolean)

Gets element links when a given element plays this role.

System_CAPS_pubmethodGetElementLinks<T>(ModelElement^)

Gets a list of elements that are linked to a role.

System_CAPS_pubmethodGetElementLinks<T>(ModelElement^, Boolean)

Gets element links when a given element plays this role.

System_CAPS_pubmethodSystem_CAPS_staticGetElementLinks<T>(ModelElement^, Guid)

Gets element links when a given element plays a given role.

System_CAPS_pubmethodGetElementLinksToElement(ModelElement^, ModelElement^)

Gets the links between a source and a target element.

System_CAPS_pubmethodGetElementLinksToElement(ModelElement^, ModelElement^, Boolean)

Gets the links between a source and target element.

System_CAPS_pubmethodGetElementLinksToElement<T>(ModelElement^, ModelElement^)

Gets the links between a source and a target element.

System_CAPS_pubmethodGetElementLinksToElement<T>(ModelElement^, ModelElement^, Boolean)

Gets a collection of links between a source and target role.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLinkedElement(ModelElement^)

Gets the element linked to this element in the relationship.

System_CAPS_pubmethodSystem_CAPS_staticGetLinkedElement(ModelElement^, Guid)

Gets the element that is linked to this element.

System_CAPS_pubmethodGetLinkedElements(ModelElement^)

Gets a list of elements that are linked to this role.

System_CAPS_pubmethodGetRolePlayer(ElementLink^)

Gets the link role player that corresponds to this role.

System_CAPS_pubmethodSystem_CAPS_staticGetRolePlayer(ElementLink^, Guid)

Gets the specified role player from a link.

System_CAPS_pubmethodGetRolePlayerMoniker(ElementLink^)

Gets the link role player moniker corresponding to this role.

System_CAPS_pubmethodSystem_CAPS_staticGetSourceRolePlayer(ElementLink^)

Gets the source element that is attached to a link.

System_CAPS_pubmethodSystem_CAPS_staticGetTargetRolePlayer(ElementLink^)

Gets the target element that is attached to a link.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticSetLinkedElement(ModelElement^, Guid, ModelElement^)

Sets the link role player on the other side of the relationship.

System_CAPS_pubmethodSetLinkedElement(ModelElement^, ModelElement^)

Sets the element on the other side of the relationship.

System_CAPS_pubmethodSystem_CAPS_staticSetRolePlayer(ElementLink^, Guid, ModelElement^)

Assigns an element to a role in a relationship.

System_CAPS_pubmethodSetRolePlayer(ElementLink^, ModelElement^)

Sets the link role player that corresponds to this role.

System_CAPS_pubmethodSystem_CAPS_staticSetRolePlayerMoniker(ElementLink^, Guid, Moniker^)

Sets a specified role player on a link.

System_CAPS_pubmethodSetRolePlayerMoniker(ElementLink^, Moniker^)

Sets the link role player moniker corresponding to this role.

System_CAPS_pubmethodToString()

Converts the element to a string.(Inherited from DomainObjectInfo.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: