NamedComponentCollection.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(String) |
Gets a unique new name for a component in the collection with the specified name prefix. |
GetNewName() |
Gets a unique new name for a component in the collection. |
GetNewName(String)
Gets a unique new name for a component in the collection with the specified name prefix.
public string GetNewName (string namePrefix);
abstract member GetNewName : string -> string
override this.GetNewName : string -> string
Public Function GetNewName (namePrefix As String) As String
Parameters
- namePrefix
- String
The name prefix.
Returns
A unique new name for a component with the specified name prefix.
Implements
Applies to
GetNewName()
Gets a unique new name for a component in the collection.
public string GetNewName ();
abstract member GetNewName : unit -> string
override this.GetNewName : unit -> string
Public Function GetNewName () As String
Returns
A unique new name for a component.