ComponentExtensions.CreatePortWithProvidedInterface Method (IComponent, IInterface)

 

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

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.CompositeStructures.IPort

See Also

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

Return to top