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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.