ClassifierExtensions.GetOutgoingAssociationEnds Method
The opposite ends of the associations that are linked to this classifier. From the association ends, you can get the linked classifier and its type.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetOutgoingAssociationEnds ( _
classifier As IClassifier _
) As IEnumerable(Of IProperty)
public static IEnumerable<IProperty> GetOutgoingAssociationEnds(
this IClassifier classifier
)
[ExtensionAttribute]
public:
static IEnumerable<IProperty^>^ GetOutgoingAssociationEnds(
IClassifier^ classifier
)
static member GetOutgoingAssociationEnds :
classifier:IClassifier -> IEnumerable<IProperty>
public static function GetOutgoingAssociationEnds(
classifier : IClassifier
) : IEnumerable<IProperty>
Parameters
- classifier
Type: Microsoft.VisualStudio.Uml.Classes.IClassifier
Return Value
Type: System.Collections.Generic.IEnumerable<IProperty>
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IClassifier. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace