Material.IsNameUnique
Description:
Validates whether the material name is unique in document.
Validates whether the material name is unique in document.
public static bool IsNameUnique(
Document aDocument,
string name
)
-
aDocumentThe document in which the name is being tested for uniqueness.
-
StringnameThe name tested for uniqueness.
Return Value
bool
Returns true if the name is unique, and false otherwise.
-
A non-optional argument was null