IProfile 接口

配置文件包含构造型的定义。

命名空间:  Microsoft.VisualStudio.Uml.Profiles
程序集:  Microsoft.VisualStudio.Uml.Interfaces(在 Microsoft.VisualStudio.Uml.Interfaces.dll 中)

语法

声明
Public Interface IProfile
public interface IProfile
public interface class IProfile
type IProfile =  interface end
public interface IProfile

IProfile 类型公开以下成员。

属性

  名称 说明
公共属性 DisplayName 用户界面中演示的名称。
公共属性 Metaclasses 在此配置文件中引用的元类的说明。
公共属性 Name 供参考的配置文件的名称。
公共属性 PropertyTypes 在配置文件中使用的属性类型的定义。
公共属性 Stereotypes 在配置文件中构造型的定义。

页首

方法

  名称 说明
公共方法 GetMetaclassByName
公共方法 GetPropertyTypeByName
公共方法 GetStereotypeByName

页首

备注

提示

此类型上定义的方法为 extension methods(扩展方法)。 要使用方法,您必须将项目引用添加到 .NET assembly Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll,并且您的代码中必须包含指令 using Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml。

请参见

参考

Microsoft.VisualStudio.Uml.Profiles 命名空间