IComponent Methods

 

Namespace:   Microsoft.VisualStudio.Uml.Components
Assembly:  Microsoft.VisualStudio.Uml.Interfaces (in Microsoft.VisualStudio.Uml.Interfaces.dll)

NameDescription
System_CAPS_pubmethodAddReference(String^, String^, Boolean)

Links a string to an element, usually where the string is a reference such as a URI, modelbus reference, or work item ID. Use the name to indicate the type of reference. Returns an IReference object that represents the link.(Defined by UmlExtensions.)

System_CAPS_pubmethodApplyStereotype(IStereotype^)

Applies the stereotype to element. Creates an IStereotypeInstance that represents the extension of the model element by the stereotype.(Defined by ProfileStereotypeExtensions.)

System_CAPS_pubmethodCreateAttribute()

Create a new IProperty object in the Class(Defined by ClassExtensions.)

System_CAPS_pubmethodCreateConnector(IConnectableElement^, IConnectableElement^, IProperty^, IProperty^)

Connect the source element to a target element, such as a Part or Port. If the source or target is a Port located on a Part, specify both.(Defined by ConnectableElementExtensions.)

System_CAPS_pubmethodCreateGeneralization(IClassifier^)

Create a new generalization of this classifier. An IGeneralization relationship is created between this and another given classifier.(Defined by ClassifierExtensions.)

System_CAPS_pubmethodCreateInteraction()

Create a new IInteraction object in the BehavioredClassifier(Defined by BehavioredClassifierExtensions.)

System_CAPS_pubmethodCreateNestedActivity()

Create an activity that describes the behavior of this element.(Defined by BehavioredClassifierExtensions.)

System_CAPS_pubmethodCreateOperation()

Create a new IOperation object in the Class(Defined by ClassExtensions.)

System_CAPS_pubmethodCreatePackageImport(IPackage^)

Import a package into a namespace. Creates an IPackageImport link to the package.(Defined by NamespaceExtensions.)

System_CAPS_pubmethodCreatePart()

Overloaded. Create a new Part, with an unspecified type.(Defined by StructuredClassifierExtensions.)

System_CAPS_pubmethodCreatePart(IComponent^)

Overloaded. Create a new Part, with a given type, or with a new type. Specify a null type to create a new Component as the type of the Part.(Defined by StructuredClassifierExtensions.)

System_CAPS_pubmethodCreatePortWithProvidedInterface()

Overloaded. Create a new Provided Interface port object in the component. A new interface is also created within the same package as the component.(Defined by ComponentExtensions.)

System_CAPS_pubmethodCreatePortWithProvidedInterface(IInterface^)

Overloaded. Create a new Provided Interface port whose type is an existing Interface.(Defined by ComponentExtensions.)

System_CAPS_pubmethodCreatePortWithRequiredInterface()

Overloaded. Create a new Required Interface port object in the IComponent. A new interface is also created within the same package as the component.(Defined by ComponentExtensions.)

System_CAPS_pubmethodCreatePortWithRequiredInterface(IInterface^)

Overloaded. Create a new Required Interface port whose type is an existing Interface.(Defined by ComponentExtensions.)

System_CAPS_pubmethodCreateTemplateBinding(IClassifier^)

Bind the given classifier to given template classifier. If required, add parameter substitutions using CreateSubstitution.(Defined by TemplateBindingExtensions.)

System_CAPS_pubmethodCreateTemplateParameter(IParameterableElement^)

Overloaded. Creates a template parameter that references given parameteredElement.(Defined by TemplateBindingExtensions.)

System_CAPS_pubmethodCreateTemplateParameter(TemplateParameterKind, String^)

Overloaded. Creates a template parameter with the given name.(Defined by TemplateBindingExtensions.)

System_CAPS_pubmethodCreateTemplateSignature()

Creates a template signature on the given classifier.(Defined by TemplateBindingExtensions.)

System_CAPS_pubmethodDelete()

Deletes this element and any relationships, owned elements, and shapes.(Defined by UmlExtensions.)

System_CAPS_pubmethodDeleteAllReference(String^)

Remove all the references of a given tag.(Defined by UmlExtensions.)

System_CAPS_pubmethodFindTemplateParameter(String^)

Find a template parameter by name.(Defined by TemplateBindingExtensions.)

System_CAPS_pubmethodGetDependencyClients()

Return a collection of elements that are dependent on this.(Defined by NamedElementExtensions.)

System_CAPS_pubmethodGetDependencySuppliers()

Return a collection of elements on which this is dependent.(Defined by NamedElementExtensions.)

System_CAPS_pubmethodGetId()

Gets a GUID that identifies this element.(Defined by UmlExtensions.)

System_CAPS_pubmethodGetImportedPackages()

The imported packages of the namespace(Defined by PackageExtensions.)

System_CAPS_pubmethodGetModelStore()

Overloaded. Gets the IModelStore that contains this element.(Defined by UmlExtensions.)

System_CAPS_pubmethodGetOutgoingAssociationEnds()

The opposite ends of the associations that are linked to this classifier. From the association ends, you can get the linked classifier and its type.(Defined by ClassifierExtensions.)

System_CAPS_pubmethodGetRealizedInterfaces()

Returns a collection of the IInterfaces implemented by the given classifier.(Defined by BehavioredClassifierExtensions.)

System_CAPS_pubmethodGetReferences(String^)

Get the IReferences of a given tag that are associated with this element.(Defined by UmlExtensions.)

System_CAPS_pubmethodGetRelatedElements<T>()

Gets elements related to this element by relationships of the specified type.(Defined by UmlExtensions.)

System_CAPS_pubmethodGetRelatedLinks<T>()

Gets relationships of a specified type from or to this element.(Defined by UmlExtensions.)

System_CAPS_pubmethodGetSpecifics()

Returns all the classifiers that specialize this classifier.(Defined by ClassifierExtensions.)

System_CAPS_pubmethodSetOwner(IPackage^)

Overloaded. Change the owner.(Defined by SetOwnerExtensions.)

System_CAPS_pubmethodShapes(IDiagram^)

Overloaded. All the shapes that display the model element on any open diagram, or on a specified open diagram.(Defined by PresentationHelpers.)

Return to top
Show: