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
public interface IStereotype
public interface class IStereotype
type IStereotype = interface end
Public Interface IStereotype
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. |
Methods
Name | Description | |
---|---|---|
CanApplyTo(String) | ||
CanApplyTo(Type) | ||
GetPropertyByName(String) |
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
Microsoft.VisualStudio.Uml.Profiles Namespace
Return to top