Assembly: System (in system.dll)
Return ValueA String containing the name of the Component, if any, or a null reference (Nothing in Visual Basic) if the Component is unnamed.
A Component may or may not have a name. If a Component is given a name, the name is unique among other Component objects within its IContainer.
The ISite stores the name of the Component. A Component can only have an ISite if it has been added to an IContainer and the IContainer assigns an ISite to it.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.