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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.