Share via


ComponentExtensions.CreatePortWithRequiredInterface Method (IComponent, IInterface)

 

Create a new Required Interface port whose type is an existing Interface.

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,
    IInterface portInterface
)
public:
[ExtensionAttribute]
static IPort^ CreatePortWithRequiredInterface(
    IComponent^ component,
    IInterface^ portInterface
)
static member CreatePortWithRequiredInterface : 
        component:IComponent *
        portInterface:IInterface -> IPort
<ExtensionAttribute>
Public Shared Function CreatePortWithRequiredInterface (
    component As IComponent,
    portInterface As IInterface
) 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