HtmlNodeItemCreateUniqueId Method

Create a unique id using the supplied base ID and list of reserved IDs.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static string CreateUniqueId(
	string baseId,
	List<string> reservedIds
)

Parameters

baseId  String
The base ID to start with.
reservedIds  ListString
Reserved IDs not allowed as a result.

Return Value

String
The first unique id matching the specified base ID.

See Also