DesignIntf.IDesigner60.UniqueName
Delphi
function UniqueName(const BaseName: string): string;
C++
virtual System::UnicodeString __fastcall UniqueName(const System::UnicodeString BaseName) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesigner60 |
Description
Generates a unique name from a specified base string.
Call UniqueName to automatically generate a unique name for a component. Specify the base string for the name by the BaseName parameter. UniqueName appends a number to BaseName to ensure that there are no name-space conflicts.