Share via


ProfileStereotypeExtensions Class

Extension methods relating to profiles and stereotypes.

Inheritance Hierarchy

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

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

Syntax

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

The ProfileStereotypeExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member ApplyProfile 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.
Public methodStatic member ApplyStereotype Applies the stereotype to element. Creates an IStereotypeInstance that represents the extension of the model element by the stereotype.

Top

Remarks

For more information about UML diagrams, see Developing Models for Software Design.

For more information about using the UML API, see Extending 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

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace