Udostępnij za pośrednictwem


ProvideViewAttribute Class

This attribute declares that an editor factory class offers a particular logical view.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ProvideViewAttribute _
    Inherits Attribute
'Usage
Dim instance As ProvideViewAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class ProvideViewAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
public ref class ProvideViewAttribute sealed : public Attribute
public final class ProvideViewAttribute extends Attribute

Remarks

This attribute should be placed on a class that implements IVsEditorFactory.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.ProvideViewAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ProvideViewAttribute Members

Microsoft.VisualStudio.Shell Namespace