What is an object name? This is a development-time token for us programmers that identifies a reference to an object, but only makes sense before compilation.
Some objects have a dedicated Name property, but do not (and should not) have anything to do with the name of the object link in the code, this visual designer kindly named object links after the Name property, but this is more a convention than a requirement. In addition, a null reference cannot have the Name property simply because the reference is null; it has not yet been assigned to any object that has a readable name.
source share