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 | |
---|---|---|
DisplayName | ||
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. | |
Name | ||
Profile | The Profile in which this Stereotype is defined. | |
Properties | Extension Properties that this Stereotype defines on its target metaclasses. |
Top
Methods
Name | Description | |
---|---|---|
CanApplyTo(String) | ||
CanApplyTo(Type) | ||
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.