CADability dotNET
Determins, whether a named attribute may change its name. It may not change its name if there is already an attribut with that desired name.

Namespace: CADability.Attribute
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
bool MayChangeName(
	INamedAttribute attribute,
	string newName
)
Visual Basic
Function MayChangeName ( _
	attribute As INamedAttribute, _
	newName As String _
) As Boolean
Visual C++
bool MayChangeName(
	INamedAttribute^ attribute, 
	String^ newName
)

Parameters

attribute
Type: CADability..::..INamedAttribute
the attribute that wants to change its name
newName
Type: System..::..String
the new name

Return Value

true, if name change is possible, false otherwise

See Also