IteratorStateMachineAttribute(Type) 建構函式

定義

初始化 IteratorStateMachineAttribute 類別的新執行個體。

public:
 IteratorStateMachineAttribute(Type ^ stateMachineType);
public IteratorStateMachineAttribute(Type stateMachineType);
new System.Runtime.CompilerServices.IteratorStateMachineAttribute : Type -> System.Runtime.CompilerServices.IteratorStateMachineAttribute
Public Sub New (stateMachineType As Type)

參數

stateMachineType
Type

是底層狀態機類型用來實作狀態機方法的型別物件。

適用於