Returns a media url.

Namespace: Composite.AspNet.Razor
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public IHtmlString MediaUrl(
	NullableDataReference<IMediaFile> mediaFile
)
Visual Basic
Public Function MediaUrl ( _
	mediaFile As NullableDataReference(Of IMediaFile) _
) As IHtmlString
Visual C++
public:
IHtmlString^ MediaUrl(
	NullableDataReference<IMediaFile^>^ mediaFile
)

Parameters

mediaFile
Type: Composite.Data..::..NullableDataReference<(Of <(<'IMediaFile>)>)>
The media file.

Return Value

[Missing <returns> documentation for "M:Composite.AspNet.Razor.C1HtmlHelper.MediaUrl(Composite.Data.NullableDataReference{Composite.Data.Types.IMediaFile})"]

See Also