Cocktail Help Reference
GetButton Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IDialogHost Interface : GetButton Method



value
The user response value associated with this button.

Glossary Item Box

Returns the logical button for the provided button value.

Syntax

Visual Basic (Declaration) 
Function GetButton( _
   ByVal value As Object _
) As DialogButton
Visual Basic (Usage)Copy Code
Dim instance As IDialogHost
Dim value As Object
Dim value As DialogButton
 
value = instance.GetButton(value)
C# 
DialogButton GetButton( 
   object value
)
C++/CLI 
DialogButton^ GetButton( 
   Object^ value
) 

Parameters

value
The user response value associated with this button.

Return Value

A logical object representing the dialog or message box button.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.