Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
| .gif) | DisplayName | |
| .gif) | 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. | 
| .gif) | Name | |
| .gif) | Profile | The Profile in which this Stereotype is defined. | 
| .gif) | Properties | Extension Properties that this Stereotype defines on its target metaclasses. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | CanApplyTo(String) | |
| .gif) | CanApplyTo(Type) | |
| .gif) | 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.