ComponentExtensions::CreatePortWithProvidedInterface Method (IComponent^, IInterface^)
Visual Studio 2015
Create a new Provided Interface port whose type is an existing Interface.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static IPort^ CreatePortWithProvidedInterface( IComponent^ component, IInterface^ portInterface )
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^
Show: