IVsContainedLanguageCodeSupport::CreateUniqueEventName Method (String^, String^, String^, String^)
Visual Studio 2015
Creates a unique event handler name, given the class context, name of the object instance, and the name of event.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int CreateUniqueEventName(
String^ pszClassName,
String^ pszObjectName,
String^ pszNameOfEvent,
[OutAttribute] String^% pbstrEventHandlerName
)
Parameters
- pszClassName
-
Type:
System::String^
[in] Name of the class.
- pszObjectName
-
Type:
System::String^
[in] Name of the object.
- pszNameOfEvent
-
Type:
System::String^
[in] Name of the event.
- pbstrEventHandlerName
-
Type:
System::String^
[out] Returns the new name of an event handler.
From singlefileeditor.idl:
HRESULT CreateUniqueEventName( [in] LPCWSTR pszClassName, [in] LPCWSTR pszObjectName, [in] LPCWSTR pszNameOfEvent, [out] BSTR* pbstrEventHandlerName );
Show: