CreateLinkedResourceFromString

LinkedResource.CreateLinkedResourceFromString method (1 of 3)

Creates the linked resource from string.

public static LinkedResource CreateLinkedResourceFromString(string content)
Parameter Type Description
content String A string that contains the resource to be included in the email attachment.

Return Value

A LinkedResource object that contains the embedded resource.

See Also


LinkedResource.CreateLinkedResourceFromString method (2 of 3)

Creates the linked resource from string.

public static LinkedResource CreateLinkedResourceFromString(string content, 
    Encoding contentEncoding, string mediaType)
Parameter Type Description
content String A string that contains the resource to be included in the email attachment.
contentEncoding Encoding The content encoding.
mediaType String The MIME media type of the content.

Return Value

A LinkedResource object that contains the embedded resource.

See Also


LinkedResource.CreateLinkedResourceFromString method (3 of 3)

Creates the linked resource from string.

public static LinkedResource CreateLinkedResourceFromString(string content, ContentType contentType)
Parameter Type Description
content String A string that contains the resource to be included in the email attachment.
contentType ContentType The type of the content.

Return Value

A LinkedResource object that contains the embedded resource.

See Also