我想知道这些EventInfo.GetRaiseMethod和EventInfo.GetOtherMethods方法.显然,CLR支持4种与事件相关的方法:添加,删除,提升和"其他".但是在C#中创建的事件只有添加和删除 ...我假设在VB中使用了raise,因为你必须RaiseEvent在声明自定义事件时指定一个方法,但显然情况并非如此:GetRaiseMethod始终返回null.
EventInfo.GetRaiseMethod
EventInfo.GetOtherMethods
RaiseEvent
GetRaiseMethod
那么,有谁知道:
GetOtherMethods
.net c# vb.net clr events
.net ×1
c# ×1
clr ×1
events ×1
vb.net ×1