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)

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 to top
Show: