LinkedResource

LinkedResource constructor (1 of 6)

Initializes a new instance of the LinkedResource class.

public LinkedResource(string fileName)
Parameter Type Description
fileName String The file name that holds the content for this resource.

See Also


LinkedResource constructor (2 of 6)

Initializes a new instance of the LinkedResource class.

public LinkedResource(string fileName, string mediaType)
Parameter Type Description
fileName String The file name that holds the content for this resource.
mediaType String Internet media type.

See Also


LinkedResource constructor (3 of 6)

Initializes a new instance of the LinkedResource class.

public LinkedResource(string fileName, ContentType contentType)
Parameter Type Description
fileName String The file name that holds the content for this resource.
contentType ContentType The type of content.

See Also


LinkedResource constructor (4 of 6)

Initializes a new instance of the LinkedResource class.

public LinkedResource(Stream contentStream)
Parameter Type Description
contentStream Stream A stream that contains the content for this resource.

See Also


LinkedResource constructor (5 of 6)

Initializes a new instance of the LinkedResource class.

public LinkedResource(Stream contentStream, string mediaType)
Parameter Type Description
contentStream Stream A stream that contains the content for this resource.
mediaType String Internet media type.

See Also


LinkedResource constructor (6 of 6)

Initializes a new instance of the LinkedResource class.

public LinkedResource(Stream contentStream, ContentType contentType)
Parameter Type Description
contentStream Stream A stream that contains the content for this resource.
contentType ContentType The type of content.

See Also