Share via


INamedComponentCollection.GetNewID Method

Definition

Overloads

GetNewID()

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

GetNewID(String)

Generates a new unique ID for a component in the collection that starts with the specified prefix.

GetNewID()

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

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

Returns

A String with the new ID.

Applies to

GetNewID(String)

Generates a new unique ID for a component in the collection that starts with the specified prefix.

public string GetNewID (string prefix);
abstract member GetNewID : string -> string
Public Function GetNewID (prefix As String) As String

Parameters

prefix
String

The prefix for the ID

Returns

A String with the new ID.

Applies to