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

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

Properties

Name Description
System_CAPS_pubproperty DisplayName

System_CAPS_pubproperty 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.

System_CAPS_pubproperty Name

System_CAPS_pubproperty Profile

The Profile in which this Stereotype is defined.

System_CAPS_pubproperty Properties

Extension Properties that this Stereotype defines on its target metaclasses.

Methods

Name Description
System_CAPS_pubmethod CanApplyTo(String)

System_CAPS_pubmethod CanApplyTo(Type)

System_CAPS_pubmethod 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