Muokkaa

Jaa


EmbeddedMailObject.Path Property

Definition

Gets or sets the path that is used to retrieve an item to embed in a mail message constructed with the MailDefinition class.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

Property Value

Returns the path to the item to embed in a mail message.

Remarks

The Path property specifies the path to the item you want to embed in the mail message constructed declaratively with the MailDefinition object. The file path in Path must be a path such as C:\MyServer\Banner.gif. Typically, the embedded item is an image file. If an image file is referenced by its identifier in the mail message but not included in the message, the image appears as a broken attachment when the email message is viewed.

It is a best practice for accessibility design to set the alternate text property in your mail message for any embedded images.

Applies to

See also