Share via


IStereotype Interface

In a Profile definition, A Stereotype can be applied to a specified set of metaclasses within the UML definition, and can define additional Properties for its metaclasses.

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

Syntax

'Declaration
Public Interface IStereotype
public interface IStereotype
public interface class IStereotype
type IStereotype =  interface end
public interface IStereotype

The IStereotype type exposes the following members.

Properties

  Name Description
Public property DisplayName
Public property Metaclasses Types of element (such as IComponent or IAttribute) to which this Stereotype can be applied. The Stereotype can also be applied to subtypes of the metaclasses in this list.
Public property Name
Public property Profile The Profile in which this Stereotype is defined.
Public property Properties Extension Properties that this Stereotype defines on its target metaclasses.

Top

Methods

  Name Description
Public method CanApplyTo(String)
Public method CanApplyTo(Type)
Public method GetPropertyByName

Top

Remarks

Note

The methods defined on this type are extension methods. To use the methods, you must add a project reference to the .NET assembly Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll, and you must include the directive using Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml; in your code.

See Also

Reference

Microsoft.VisualStudio.Uml.Profiles Namespace