Compartilhar via


NamedComponentCollection.GetNewID Method

Definition

Overloads

GetNewID()

Gets a new unique ID for a component in the collection.

GetNewID(String)

Gets the value for the new unique ID for a component in the collection with the specified name prefix.

GetNewID()

Gets a new unique ID for a component in the collection.

public string GetNewID ();
abstract member GetNewID : unit -> string
override this.GetNewID : unit -> string
Public Function GetNewID () As String

Returns

The value of the new ID.

Implements

Applies to

GetNewID(String)

Gets the value for the new unique ID for a component in the collection with the specified name prefix.

public string GetNewID (string idPrefix);
abstract member GetNewID : string -> string
override this.GetNewID : string -> string
Public Function GetNewID (idPrefix As String) As String

Parameters

idPrefix
String

The ID prefix.

Returns

The value for the new unique ID.

Implements

Applies to