Delen via


IMetaclass Interface

In a Profile definition, a reference to the type of element to which stereotypes can be applied, such as Component, Attribute, Lifeline or Dependency.

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

Syntax

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

The IMetaclass type exposes the following members.

Properties

  Name Description
Public property Name The name of the Metaclass, such as "Microsoft.VisualStudio.Uml.Components.IComponent".
Public property Profile The Profile of which this Metaclass reference forms part.
Public property Stereotypes Stereotypes that are applicable to this Metaclass and its subtypes.

Top

Methods

  Name Description
Public method CanHaveStereotype

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