PackageExtensions.CreateDependency Method (IPackage, INamedElement, INamedElement)
Create a new IDependency link in the NamedElement
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static IDependency CreateDependency(
this IPackage parent,
INamedElement client,
INamedElement supplier
)
public:
[ExtensionAttribute]
static IDependency^ CreateDependency(
IPackage^ parent,
INamedElement^ client,
INamedElement^ supplier
)
static member CreateDependency :
parent:IPackage *
client:INamedElement *
supplier:INamedElement -> IDependency
<ExtensionAttribute>
Public Shared Function CreateDependency (
parent As IPackage,
client As INamedElement,
supplier As INamedElement
) As IDependency
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Classes.IPackage
- client
Type: Microsoft.VisualStudio.Uml.Classes.INamedElement
- supplier
Type: Microsoft.VisualStudio.Uml.Classes.INamedElement
Return Value
Type: Microsoft.VisualStudio.Uml.Classes.IDependency
See Also
PackageExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top