Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal message As String, _ ByVal questionButtons As MessageBoxButtons _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim message As String Dim questionButtons As MessageBoxButtons Dim instance As New MessagerQuestionEventArgs(message, questionButtons) |
C# | |
---|---|
public MessagerQuestionEventArgs( string message, MessageBoxButtons questionButtons ) |
Managed Extensions for C++ | |
---|---|
public: MessagerQuestionEventArgs( string* message, MessageBoxButtons questionButtons ) |
C++/CLI | |
---|---|
public: MessagerQuestionEventArgs( String^ message, MessageBoxButtons questionButtons ) |
Parameters
- message
- Type: System.String The question message.
- questionButtons
- Type: System.Windows.Forms.MessageBoxButtons The question buttons expected from the user.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7