Click or drag to resize
OSIsoft, LLC

AFObjectGenerateUniqueName Method

Generate a unique name for the items in the specified list.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public static string GenerateUniqueName(
	string name,
	IAFList items


Type: SystemString
The base name for new unique name for a new item in the specified list. A unique name will always be generated even when the specified name does not end in an asterisk (*).
Type: OSIsoft.AFIAFList
The existing items in the list that are used to generate a new unique name.

Return Value

Type: String
Returns the new name that is unique based upon the items in the specified list.
Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8
See Also
Enabling Operational Intelligence