| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal lastState As PlayState, _ ByVal state As PlayState _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim lastState As PlayState Dim state As PlayState Dim instance As New StateChangedEventArgs(lastState, state) | |
Parameters
- lastState
- Value that specifies the previous state of the object.
- state
- Value that specifies the new state of the object.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7