Share via


PackageExtensions.CreateUsage Method (IPackage, INamedElement, INamedElement)

 

Create a new IUsage link in the NamedElement

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

public static IUsage CreateUsage(
    this IPackage parent,
    INamedElement client,
    INamedElement supplier
)
public:
[ExtensionAttribute]
static IUsage^ CreateUsage(
    IPackage^ parent,
    INamedElement^ client,
    INamedElement^ supplier
)
static member CreateUsage : 
        parent:IPackage *
        client:INamedElement *
        supplier:INamedElement -> IUsage
<ExtensionAttribute>
Public Shared Function CreateUsage (
    parent As IPackage,
    client As INamedElement,
    supplier As INamedElement
) As IUsage

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Classes.IUsage

See Also

PackageExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top