RegisterEditorLogicalViewAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.
此属性将逻辑视图添加到编辑器工厂创建的编辑器中。
public ref class RegisterEditorLogicalViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterEditorLogicalViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.")]
public sealed class RegisterEditorLogicalViewAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.")>]
type RegisterEditorLogicalViewAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class RegisterEditorLogicalViewAttribute
Inherits RegistrationAttribute
- 继承
- 属性
构造函数
RegisterEditorLogicalViewAttribute(Object, String) |
已过时.
创建新的 RegisterEditorLogicalView 属性来注册编辑器提供的逻辑视图。 |
属性
FactoryType |
已过时.
获取表示编辑器工厂类型的 Guid |
LogicalView |
已过时.
获取表示逻辑视图的 Guid |
TypeId |
已过时.
重写 TypeID 属性,使 RegistrationAttribute 派生类能够与 System.ComponentModel.TypeDescriptor.GetAttributes 一起使用 (...) 。仅当派生自此属性的属性需要对可应用于类的实例使用更好的控件时,它才必须重写此属性。 (继承自 RegistrationAttribute) |
方法
GetPackageRegKeyPath(Guid) |
已过时.
获取相对于 VSPackage 的应用程序) 注册表根目录 (注册表路径。 (继承自 RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
已过时.
调用以便向给定的上下文注册此属性。 上下文包含应放置注册信息的位置。 它还包含其他信息,例如要注册的类型和路径信息。 |
Unregister(RegistrationAttribute+RegistrationContext) |
已过时.
取消注册此逻辑视图。 |