RVTDocs.com
Namespace: Autodesk.Revit.DB Class: WorksetTable

WorksetTable.IsWorksetNameUnique

Method
Description:
Checks if the given workset name is unique in the document.
Syntax
public static bool IsWorksetNameUnique(
	Document aDoc,
	string name
)
Parameters
Parameter Type Description
aDoc Document The document in which the workset is accessed.
name String The workset name.
Return Value
Type Description
Boolean True if this given workset name is unique in the document, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null