public void SetDisplayName(string displayName) { HResult hr = NativeSearchFolderItemFactory.SetDisplayName(displayName); if (hr != HResult.S_OK) throw new Exception(hr.ToString()); }