NamespaceExtensions.CreatePackageImport Method (INamespace, IPackage)

 

Import a package into a namespace. Creates an IPackageImport link to the package.

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

Syntax

public static IPackageImport CreatePackageImport(
    this INamespace importingNamespace,
    IPackage importedPackage
)
public:
[ExtensionAttribute]
static IPackageImport^ CreatePackageImport(
    INamespace^ importingNamespace,
    IPackage^ importedPackage
)
static member CreatePackageImport : 
        importingNamespace:INamespace *
        importedPackage:IPackage -> IPackageImport
<ExtensionAttribute>
Public Shared Function CreatePackageImport (
    importingNamespace As INamespace,
    importedPackage As IPackage
) As IPackageImport

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Classes.IPackageImport

See Also

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

Return to top