DomainRoleInfo.GetLinkedElements Method
Gets a list of elements that are linked to this role.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Function GetLinkedElements ( _
rolePlayerElement As ModelElement _
) As LinkedElementCollection(Of ModelElement)
public LinkedElementCollection<ModelElement> GetLinkedElements(
ModelElement rolePlayerElement
)
public:
LinkedElementCollection<ModelElement^>^ GetLinkedElements(
ModelElement^ rolePlayerElement
)
member GetLinkedElements :
rolePlayerElement:ModelElement -> LinkedElementCollection<ModelElement>
public function GetLinkedElements(
rolePlayerElement : ModelElement
) : LinkedElementCollection<ModelElement>
Parameters
- rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element assigned to this role.
Return Value
Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<ModelElement>
The collection of element links that play the opposite role in links that the element participates in.
.NET Framework Security
- 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.