ComponentExtensions::CreatePortWithRequiredInterface Method (IComponent^)
Visual Studio 2015
Create a new Required Interface port object in the IComponent. A new interface is also created within the same package as the component.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static IPort^ CreatePortWithRequiredInterface( IComponent^ component )
Parameters
- component
- Type: Microsoft.VisualStudio.Uml.Components::IComponent^
Return Value
Type: Microsoft.VisualStudio.Uml.CompositeStructures::IPort^
Show: