LinkedResource.LinkedResource

LinkedResource(string)

Initializes a new instance of the LinkedResource class.

public LinkedResource(string fileName)
ParameterTypeDescription
fileNameStringThe file name that holds the content for this resource.

See Also


LinkedResource(string, string)

Initializes a new instance of the LinkedResource class.

public LinkedResource(string fileName, string mediaType)
ParameterTypeDescription
fileNameStringThe file name that holds the content for this resource.
mediaTypeStringInternet media type.

See Also


LinkedResource(string, ContentType)

Initializes a new instance of the LinkedResource class.

public LinkedResource(string fileName, ContentType contentType)
ParameterTypeDescription
fileNameStringThe file name that holds the content for this resource.
contentTypeContentTypeThe type of content.

See Also


LinkedResource(Stream)

Initializes a new instance of the LinkedResource class.

public LinkedResource(Stream contentStream)
ParameterTypeDescription
contentStreamStreamA stream that contains the content for this resource.

See Also


LinkedResource(Stream, string)

Initializes a new instance of the LinkedResource class.

public LinkedResource(Stream contentStream, string mediaType)
ParameterTypeDescription
contentStreamStreamA stream that contains the content for this resource.
mediaTypeStringInternet media type.

See Also


LinkedResource(Stream, ContentType)

Initializes a new instance of the LinkedResource class.

public LinkedResource(Stream contentStream, ContentType contentType)
ParameterTypeDescription
contentStreamStreamA stream that contains the content for this resource.
contentTypeContentTypeThe type of content.

See Also