yoy.be "Why-o-Why"

EventInfo.GetRaiseMethod Method (Boolean)

2007-11-01 22:37  i1311  dotnet  [permalink]

meuh!

This method returns a null reference (Nothing in Visual Basic) for events declared with the C# event keyword or the Visual Basic Event keyword. This is because the C# and Visual Basic compilers do not generate such a method.

Is there a way to raise an event from outside the object? I guess not!

http://msdn2.microsoft.com/en-us/library/e4d2c8dc(VS.80).aspx

twitter reddit linkedin facebook