ViewComponentAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the class and all subclasses are view components. Optionally specifies a view component's name. If defining a base class for multiple view components, associate this attribute with that base.
public ref class ViewComponentAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class ViewComponentAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ViewComponentAttribute = class
inherit Attribute
Public Class ViewComponentAttribute
Inherits Attribute
- Inheritance
-
ViewComponentAttribute
- Attributes
Constructors
ViewComponentAttribute() |
Properties
Name |
Gets or sets the name of the view component. Do not supply a name in an attribute associated with a view component base class. |