MagicCMS Documentation
MagicExt
.
.
::
.
.
GetRandomUrl Method (Uri, String)
Gets a random Url in a folder.
Namespace:
System
Assembly:
MagicCMS.4.5
(in MagicCMS.4.5.dll)
Syntax
C#
public
static
Uri
GetRandomUrl
(
Uri
url
,
string
filter
)
Parameters
url
Type:
Uri
The URL of the folder where the file is searched
filter
Type:
String
Optional filter. (Ex.: "*.png")
Return Value
See Also
MagicExt Class
GetRandomUrl Overload
System Namespace