IVsContainedLanguageStaticEventBinding::GetStaticEventBindingsForObject Method (String^, String^, Int32, IntPtr, IntPtr, IntPtr)
Visual Studio 2015
Returns a collection of events that are statically handled.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int GetStaticEventBindingsForObject( String^ pszClassName, String^ pszObjectName, [OutAttribute] int% pcMembers, [OutAttribute] IntPtr% ppbstrEventNames, [OutAttribute] IntPtr% ppbstrDisplayNames, [OutAttribute] IntPtr% ppbstrMemberIDs )
Parameters
- pszClassName
-
Type:
System::String^
[in] The fully qualified name of the class.
- pszObjectName
-
Type:
System::String^
[in] The fully qualified name of the object that contains the event.
- pcMembers
-
Type:
System::Int32
[out] Returns the number of event handlers specified in the lists returned in the ppbstrEventNames, ppbstrDisplayNames, and ppbstrMemberIDs parameters.
- ppbstrEventNames
-
Type:
System::IntPtr
[out] Returns a list containing the event handler names.
- ppbstrDisplayNames
-
Type:
System::IntPtr
[out] Returns a list containing the display names for the event handlers.
- ppbstrMemberIDs
-
Type:
System::IntPtr
[out] Returns a list containing the event member IDs.
From singlefileeditor.idl:
HRESULT GetStaticEventBindingsForObject( [in] LPCWSTR pszClassName, [in] LPCWSTR pszObjectName, [out] int* pcMembers, [out] BSTR** ppbstrEventNames, [out] BSTR** ppbstrDisplayNames, [out] BSTR** ppbstrMemberIDs );
Show: