Raises the NeedObject event
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual Object OnNeedObject( Object sender, NeedObjectEventArgs args )
Public Overridable Function OnNeedObject ( _ sender As Object, _ args As NeedObjectEventArgs _ ) As Object
public: virtual Object^ OnNeedObject( Object^ sender, NeedObjectEventArgs^ args )
Parameters
- sender (Object)
- args (NeedObjectEventArgs)
Return Value
The object set in RequiredObject property of the event args.