IVsContainedLanguageStaticEventBinding::AddStaticEventBinding Method (String^, String^, String^, String^)
Visual Studio 2015
Binds a static event to the specified member.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int AddStaticEventBinding(
String^ pszClassName,
String^ pszUniqueMemberID,
String^ pszObjectName,
String^ pszNameOfEvent
)
Parameters
- pszClassName
-
Type:
System::String^
[in] The fully qualified name of the class the member resides in.
- pszUniqueMemberID
-
Type:
System::String^
[in] The unique ID of the member that is to handle the event.
- pszObjectName
-
Type:
System::String^
[in] The name of the object that contains the event.
- pszNameOfEvent
-
Type:
System::String^
[in] The name of the event.
From singlefileeditor.idl:
HRESULT AddStaticEventBinding( [in] LPCWSTR pszClassName, [in] LPCWSTR pszUniqueMemberID, [in] LPCWSTR pszObjectName, [in] LPCWSTR pszNameOfEvent );
Show: