System.ComponentModel.Component.ToString C# (CSharp) 메소드

ToString() 공개 메소드

public ToString ( ) : string
리턴 string
        public override string ToString() { throw null; }
    }

Usage Example

 private void SwitchControl(Component obj)
 {
     if (obj != null)
     {
         if (propertyGrid.SelectedObject != obj)
         {
             Text = obj.ToString();
             propertyGrid.SelectedObject = obj;
             propertyGrid.PropertySort = PropertySort.Alphabetical;
         }
     }
 }