M

IFCUserDefinedPropertySet.IsValidName

Description:
Checks whether the proposed name is valid and not exist in the specified document.
Remarks:
Name can't be blank. If true, the name is valid and not exist in specified document. If false, the name is not a valid name which means it does not exist in specified document.
public static bool IsValidName(
	Document document,
	string name
)
  • document
    The document to check
  • String
    name
    The name to check.
Return Value Boolean Whether or not the name is valid.