Methods to obtain and override data objects

If you need the string representation of a DataObject you can use the method DataObject.GetPresentationValue().

This method will return the value of the attributes “Name”, “Name”, “Name”, if available, or the first string attribute. In the absence of string attributes return value of the method DataObject.ToString().

If necessary override this method in the application project must use the delegate DataObject.GetPresentationValueDelegate.

Method DataObject.GetPresentationValue() used for the naming of the desktop shortcuts.

Переведено сервисом «Яндекс.Переводчик»