Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- component
 Type: Microsoft.VisualStudio.Uml.Components.IComponent
- portInterface 
 Type: Microsoft.VisualStudio.Uml.Classes.IInterface- The interface that the port should provide. 
Return Value
Type: Microsoft.VisualStudio.Uml.CompositeStructures.IPort
See Also
CreatePortWithProvidedInterface Overload
ComponentExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top