ProvideViewAttribute 类

定义

此属性声明编辑器工厂类提供特定的逻辑视图。

public ref class ProvideViewAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideViewAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideViewAttribute = class
    inherit Attribute
Public NotInheritable Class ProvideViewAttribute
Inherits Attribute
继承
ProvideViewAttribute
属性

注解

此特性应放置在实现的类上 IVsEditorFactory

构造函数

ProvideViewAttribute(LogicalView, String)

创建新的属性。

属性

LogicalView

获取此属性中的逻辑视图。

PhysicalView

返回映射到逻辑视图的物理视图。

适用于