LinkedResource::CreateLinkedResourceFromString Method

 

Creates a LinkedResource object from the content stored in a String.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateLinkedResourceFromString(String^)

Creates a 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.

System_CAPS_pubmethodSystem_CAPS_staticCreateLinkedResourceFromString(String^, ContentType^)

Creates a LinkedResource object from a string to be included in an email attachment as an embedded resource, with the specified content type, and media type as plain text.

System_CAPS_pubmethodSystem_CAPS_staticCreateLinkedResourceFromString(String^, Encoding^, String^)

Creates a LinkedResource object from a string to be included in an email attachment as an embedded resource, with the specified content type, and media type.

Return to top
Show: