EventBindingService.CreateUniqueMethodName Method
When overridden in a derived class, returns a unique method name for an event handler.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function CreateUniqueMethodName ( _
modelEvent As ModelEvent _
) As String
public abstract string CreateUniqueMethodName(
ModelEvent modelEvent
)
public:
virtual String^ CreateUniqueMethodName(
ModelEvent^ modelEvent
) abstract
abstract CreateUniqueMethodName :
modelEvent:ModelEvent -> string
public abstract function CreateUniqueMethodName(
modelEvent : ModelEvent
) : String
Parameters
- modelEvent
Type: Microsoft.Windows.Design.Model.ModelEvent
The event for which to create a unique event handler name.
Return Value
Type: System.String
A unique event handler name. For example, Button1_Click or Button1_Click_1.
Remarks
The result of this method can be used to call the CreateMethod method.
.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