System.Net.Mail.LinkedResource.CreateLinkedResourceFromString Method

Creates a System.Net.Mail.LinkedResource object from a string to be included in an email attachment as an embedded resource. The default media type is plain text, and the default content type is ASCII.

Syntax

public static LinkedResource CreateLinkedResourceFromString (string content)

Parameters

content
A string that contains the embedded resource to be included in the email attachment.

Returns

A System.Net.Mail.LinkedResource object that contains the embedded resource to be included in the email attachment.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0