GetUniqueName Method

Generates a unique filename.

Applies To

Image Admin control

Syntax

object.GetUniqueName(Path, Template, Extension)

Arguments

Parameter

Data Type

Description

Path

String

The name of the existing path where the filename will be generated.

Template

String

The initial characters of the filename. Up to 4 characters can be used.

Extension

String

The extension to be used with the generated filename. Up to 3 characters can be used.


Return Value

A string that contains a fully-qualified filename.

Remarks

The filename is based on user-supplied path, template, and file extension information.