Gets the name of the specified component.
[Visual Basic] Protected Function GetComponentName( _ ByVal component As IComponent _ ) As String [C#] protected string GetComponentName( IComponent component ); [C++] protected: String* GetComponentName( IComponent* component ); [JScript] protected function GetComponentName( component : IComponent ) : String;
This will return an empty string for the top level component, since that is what CodeSense wants for references to "this" or "me".
ComponentModelPersister Class | ComponentModelPersister Members | System.ComponentModel.Design Namespace