Sdílet prostřednictvím


NamedComponentCollection.GetNewName Method

Definition

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.

Implements

Applies to