共用方式為


ClassInitializeAttribute Class

Definition

The class initialize attribute.

public ref class ClassInitializeAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class ClassInitializeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
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()

Initializes a new instance of the ClassInitializeAttribute class. ClassInitializeAttribute

Properties

InheritanceBehavior

Gets the Inheritance Behavior

Applies to