SendersGet Method (MRendererClass)
name of sender sender object name
MSenders object sendersender object
Gets the sender object by its name.Gets a sender object by its name
Syntax
Public Overridable Sub SendersGet( _
   ByVal _bsName As String, _
   ByRef _ppSender As Object _
) 
public virtual void SendersGet( 
   string _bsName,
   out object _ppSender
)
public procedure SendersGet( 
    _bsName: String;
   Out  _ppSender: TObject
); virtual; 
public: virtual void SendersGet( 
   BSTR* _bsName,
   [PARAMFLAG::Out] IUnknown* _ppSender
) 

Parameters

_bsName
name of sender sender object name
_ppSender
MSenders object sendersender object
Example

Here is example of how to get a sender by its name:

Dim senders As New MSendersClass()
Dim mySender As Object
senders.SendersGet("NewSender", mySender)
MSendersClass senders = new MSendersClass();
object mySender;
senders.SendersGet("NewSender", out mySender);
var
mySender: TObject;
mySenders: MSenders;
begin
mySenders:= CreateComObject(CLASS_MSenders) as MSenders;
mySenders.SendersGet('NewSender', mySender);
end;
See Also

Reference

MRendererClass Class
MRendererClass Members