ComponentExtensions.CreatePortWithProvidedInterface Method (IComponent)
Create a new Provided Interface port object in the component. A new interface is also created within the same package as the component.
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
)
public:
[ExtensionAttribute]
static IPort^ CreatePortWithProvidedInterface(
IComponent^ component
)
static member CreatePortWithProvidedInterface :
component:IComponent -> IPort
<ExtensionAttribute>
Public Shared Function CreatePortWithProvidedInterface (
component As IComponent
) As IPort
Parameters
- component
Type: Microsoft.VisualStudio.Uml.Components.IComponent
Return Value
Type: Microsoft.VisualStudio.Uml.CompositeStructures.IPort
See Also
CreatePortWithProvidedInterface Overload
ComponentExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top