Share via


MapiMessage.setRecipNo(Int32, MapiRecipDesc) Method

Definition

Adds a recipient to the message.

public:
 virtual void setRecipNo(int _recipNo, Dynamics::AX::Application::MapiRecipDesc ^ _recipient);
public virtual void setRecipNo (int _recipNo, Dynamics.AX.Application.MapiRecipDesc _recipient);
abstract member setRecipNo : int * Dynamics.AX.Application.MapiRecipDesc -> unit
override this.setRecipNo : int * Dynamics.AX.Application.MapiRecipDesc -> unit
Public Overridable Sub setRecipNo (_recipNo As Integer, _recipient As MapiRecipDesc)

Parameters

_recipNo
Int32

The MapiRecipDesc object that describes the recipient.

_recipient
MapiRecipDesc

The MapiRecipDesc object that describes the recipient.

Remarks

If you have to get a correct MapiRecipDesc object from a name that a user entered, use the resolveName method.

Applies to