internal override void PopulateWithFileNames( System.Collections.ObjectModel.Collection <string> names) { IShellItem item; saveDialogCoClass.GetResult(out item); if (item == null) { throw new InvalidOperationException(LocalizedMessages.SaveFileNullItem); } names.Clear(); names.Add(GetFileNameFromShellItem(item)); }
internal override void PopulateWithFileNames(System.Collections.ObjectModel.Collection <string> names) { IShellItem item; saveDialogCoClass.GetResult(out item); if (item == null) { throw new InvalidOperationException("Retrieved a null shell item from dialog"); } names.Add(GetFileNameFromShellItem(item)); }