GetFullComponentName() 공개 메소드

public GetFullComponentName ( object component ) : string
component object
리턴 string
예제 #1
0
 /// <summary>Gets the name of the specified component, or null if the component has no name.</summary>
 /// <returns>The name of the specified component.</returns>
 /// <param name="component">The specified component.</param>
 /// <exception cref="T:System.ArgumentNullException">
 ///   <paramref name="component" /> is null.</exception>
 public virtual string GetFullComponentName(object component)
 {
     if (_parent != null)
     {
         return(_parent.GetFullComponentName(component));
     }
     return(GetTypeDescriptor(component).GetComponentName());
 }