PackageExtensions.CreateAssociation Method (IPackage, IClassifier, IClassifier)
Create a new IAssociation
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static IAssociation CreateAssociation(
this IPackage parent,
IClassifier sourceClassifier,
IClassifier targetClassifier
)
public:
[ExtensionAttribute]
static IAssociation^ CreateAssociation(
IPackage^ parent,
IClassifier^ sourceClassifier,
IClassifier^ targetClassifier
)
static member CreateAssociation :
parent:IPackage *
sourceClassifier:IClassifier *
targetClassifier:IClassifier -> IAssociation
<ExtensionAttribute>
Public Shared Function CreateAssociation (
parent As IPackage,
sourceClassifier As IClassifier,
targetClassifier As IClassifier
) As IAssociation
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Classes.IPackage
- sourceClassifier
Type: Microsoft.VisualStudio.Uml.Classes.IClassifier
- targetClassifier
Type: Microsoft.VisualStudio.Uml.Classes.IClassifier
Return Value
Type: Microsoft.VisualStudio.Uml.Classes.IAssociation
See Also
PackageExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top