PackageExtensions.CreateComponent Method (IPackage)
Create a new IComponent object in the Package
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static IComponent CreateComponent(
this IPackage parent
)
public:
[ExtensionAttribute]
static IComponent^ CreateComponent(
IPackage^ parent
)
static member CreateComponent :
parent:IPackage -> IComponent
<ExtensionAttribute>
Public Shared Function CreateComponent (
parent As IPackage
) As IComponent
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Classes.IPackage
Return Value
Type: Microsoft.VisualStudio.Uml.Components.IComponent
See Also
PackageExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top