EventBindingService.ShowMethod Method
When overridden in a derived class, attempts to display the specified method to the user.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function ShowMethod ( _
modelEvent As ModelEvent, _
methodName As String _
) As Boolean
public abstract bool ShowMethod(
ModelEvent modelEvent,
string methodName
)
public:
virtual bool ShowMethod(
ModelEvent^ modelEvent,
String^ methodName
) abstract
abstract ShowMethod :
modelEvent:ModelEvent *
methodName:string -> bool
public abstract function ShowMethod(
modelEvent : ModelEvent,
methodName : String
) : boolean
Parameters
- modelEvent
Type: Microsoft.Windows.Design.Model.ModelEvent
The event that methodName handles.
- methodName
Type: System.String
The method to display.
Return Value
Type: System.Boolean
true if the method is successfully displayed to the user; otherwise, false.
Remarks
There are different ways a method can be displayed to the user. For example, the host might open a code editor and position the cursor at the first statement in the method. The host could also open the method in a window.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Services Namespace