Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal eventCode As MediaEventCode, _ ByVal param1 As Integer, _ ByVal param2 As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim eventCode As MediaEventCode Dim param1 As Integer Dim param2 As Integer Dim instance As New MediaEventArgs(eventCode, param1, param2) |
Parameters
- eventCode
- The MediaEventCode identifying the type of media event that was raised.
- param1
- Generic parameter one containing event specific information. The use and possible values of parameter depends on MediaEventCode.
- param2
- Generic parameter two containing event specific information. The use and possible values of parameter depends on MediaEventCode.
Creates an instance of the MediaEventArgs object. This method is called internally by the toolkit to create media event arguments.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7