ComponentExtensions::CreatePortWithRequiredInterface Method (IComponent^, IInterface^)
Visual Studio 2015
Create a new Required Interface port whose type is an existing Interface.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static IPort^ CreatePortWithRequiredInterface( 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 require.
Return Value
Type: Microsoft.VisualStudio.Uml.CompositeStructures::IPort^
Show: