Share via


ProfileStereotypeExtensions Class

 

Extension methods relating to profiles and stereotypes.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.ProfileStereotypeExtensions

Syntax

public static class ProfileStereotypeExtensions
[ExtensionAttribute]
public ref class ProfileStereotypeExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ProfileStereotypeExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ProfileStereotypeExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static ApplyProfile(IPackage, IProfile)

Applies the profile to package, so that the profile's stereotypes can be applied to the package's contents. Creates an IProfileInstance that represents the relationship between the profile and the package.

System_CAPS_pubmethodSystem_CAPS_static ApplyStereotype(IElement, IStereotype)

Applies the stereotype to element. Creates an IStereotypeInstance that represents the extension of the model element by the stereotype.

Remarks

For more information about UML diagrams, see Create models for your app.

For more information about using the UML API, see Extend UML models and diagrams.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top