IEventBindingService.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 name for an event-handler method for the specified component and event.
public:
System::String ^ CreateUniqueMethodName(System::ComponentModel::IComponent ^ component, System::ComponentModel::EventDescriptor ^ e);
public string CreateUniqueMethodName (System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor e);
abstract member CreateUniqueMethodName : System.ComponentModel.IComponent * System.ComponentModel.EventDescriptor -> string
Public Function CreateUniqueMethodName (component As IComponent, e As EventDescriptor) As String
Parameters
- component
- IComponent
The component instance the event is connected to.
The event to create a name for.
Returns
The recommended name for the event-handler method for this event.
Remarks
This method returns a name that is unique from any other method name in the user's source code.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.