ModelBusView 是模型从 ModelBusAdapter 获得的对象。 “ModelBusView” 允许客户端生成,访问和操作用于模型的设计表面和编辑器。
继承层次结构
System.Object
Microsoft.VisualStudio.Modeling.Integration.ModelBusView
Microsoft.VisualStudio.Modeling.Integration.Shell.VsModelingView
命名空间: Microsoft.VisualStudio.Modeling.Integration
程序集: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)
语法
声明
Public MustInherit Class ModelBusView
public abstract class ModelBusView
ModelBusView 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ModelBusView | 构造函数 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Adapter | ModelBusAdapter 实例创建并拥有此 ModelBusView |
![]() |
IsOperational | 派生类的标志用来指示 ModelBusView 是否可用 |
![]() |
ViewReference | 引用标识符,用于生成该 ModelBusView 对象 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Close | 关闭此 ModelBusView 表示的 WindowFrame。 |
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) |
![]() |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
Hide | 隐藏此 ModelBusView 表示的 WindowFrame。基础视图容器仍然保留在内存中。 |
![]() |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) |
![]() |
Open | 打开/粘附由此 ModelBusView 表示的基础的新编辑器对象。 |
![]() |
SetSelection(ModelBusReference) | 在此 ModelBusView 中选择由引用标识的元素。 |
![]() |
SetSelection(IEnumerable<ModelBusReference>) | 在此 ModelBusView 中选择由引用标识的元素。 |
![]() |
Show | 激活此 ModelBusView 表示的 WindowFrame 并对其设置焦点 |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。