LinkedResource.CreateLinkedResourceFromString

CreateLinkedResourceFromString(string)

Creates the linked resource from string.

public static LinkedResource CreateLinkedResourceFromString(string content)
ParameterTypeDescription
contentStringA string that contains the resource to be included in the email attachment.

Return Value

A LinkedResource object that contains the embedded resource.

See Also


CreateLinkedResourceFromString(string, Encoding, string)

Creates the linked resource from string.

public static LinkedResource CreateLinkedResourceFromString(string content, 
    Encoding contentEncoding, string mediaType)
ParameterTypeDescription
contentStringA string that contains the resource to be included in the email attachment.
contentEncodingEncodingThe content encoding.
mediaTypeStringThe MIME media type of the content.

Return Value

A LinkedResource object that contains the embedded resource.

See Also


CreateLinkedResourceFromString(string, ContentType)

Creates the linked resource from string.

public static LinkedResource CreateLinkedResourceFromString(string content, ContentType contentType)
ParameterTypeDescription
contentStringA string that contains the resource to be included in the email attachment.
contentTypeContentTypeThe type of the content.

Return Value

A LinkedResource object that contains the embedded resource.

See Also