共用方式為


ClassInitializeAttribute Constructor

Definition

Initializes a new instance of the ClassInitializeAttribute class. ClassInitializeAttribute

public:
 ClassInitializeAttribute(Microsoft::VisualStudio::TestTools::UnitTesting::InheritanceBehavior inheritanceBehavior);
public ClassInitializeAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior inheritanceBehavior);
new Microsoft.VisualStudio.TestTools.UnitTesting.ClassInitializeAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior -> Microsoft.VisualStudio.TestTools.UnitTesting.ClassInitializeAttribute
Public Sub New (inheritanceBehavior As InheritanceBehavior)

Applies to