Share via


ComponentExtensions.CreatePortWithRequiredInterface Method (IComponent)

 

Create a new Required Interface port object in the IComponent. A new interface is also created within the same package as the component.

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

Syntax

public static IPort CreatePortWithRequiredInterface(
    this IComponent component
)
public:
[ExtensionAttribute]
static IPort^ CreatePortWithRequiredInterface(
    IComponent^ component
)
static member CreatePortWithRequiredInterface : 
        component:IComponent -> IPort
<ExtensionAttribute>
Public Shared Function CreatePortWithRequiredInterface (
    component As IComponent
) As IPort

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.CompositeStructures.IPort

See Also

CreatePortWithRequiredInterface Overload
ComponentExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top