Share via


ClassInitializeAttribute Class

Definition

The class initialize attribute.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class ClassInitializeAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class ClassInitializeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type ClassInitializeAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type ClassInitializeAttribute = class
    inherit Attribute
Public NotInheritable Class ClassInitializeAttribute
Inherits Attribute
Inheritance
ClassInitializeAttribute
Attributes

Constructors

ClassInitializeAttribute()

Initializes a new instance of the ClassInitializeAttribute class. ClassInitializeAttribute.

ClassInitializeAttribute(InheritanceBehavior)

Initializes a new instance of the ClassInitializeAttribute class. ClassInitializeAttribute.

Properties

InheritanceBehavior

Gets the Inheritance Behavior.

Applies to