INamedComponentCollection.GetNewName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetNewName() |
Generates a new unique name for a component in the collection. |
GetNewName(String) |
Assists in creating new consecutive numbered names that start with the specified prefix. |
GetNewName()
Generates a new unique name for a component in the collection.
public string GetNewName ();
abstract member GetNewName : unit -> string
Public Function GetNewName () As String
Returns
A String with the new name.
Applies to
GetNewName(String)
Assists in creating new consecutive numbered names that start with the specified prefix.
public string GetNewName (string prefix);
abstract member GetNewName : string -> string
Public Function GetNewName (prefix As String) As String
Parameters
- prefix
- String
The prefix for the numbered names.
Returns
A String with the new name.