EventBindingService.CreateUniqueMethodName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a unique method name.
protected:
abstract System::String ^ CreateUniqueMethodName(System::ComponentModel::IComponent ^ component, System::ComponentModel::EventDescriptor ^ e);
protected abstract string CreateUniqueMethodName (System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor e);
abstract member CreateUniqueMethodName : System.ComponentModel.IComponent * System.ComponentModel.EventDescriptor -> string
Protected MustOverride Function CreateUniqueMethodName (component As IComponent, e As EventDescriptor) As String
Parameters
- component
- IComponent
The component for which the method name will be created.
The event to create a name for.
Returns
The unique method name.
Exceptions
component
or e
is null
.
Remarks
The name returned by the CreateUniqueMethodName method must be compatible with the script language being used and it must not conflict with any other name in your code.
Applies to
See also
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.