IteratorStateMachineAttribute(Type) Konstruktor

Definition

Initierar en ny instans av IteratorStateMachineAttribute klassen.

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

Parametrar

stateMachineType
Type

Typobjektet för den underliggande tillståndsdatortypen som används för att implementera en tillståndsdatormetod.

Gäller för