ShellBrowser Delphi Components Documentation
|
The following example shows how to set properties "comment" and "author" of a file:
var Properties: TDictionary<TShellColumnId, TShellPropertyValue>; begin Properties := TDictionary<TShellColumnId, TShellPropertyValue>.Create; Properties.Add(TShellColumns.Comment, 'Great song'); Properties.Add(TShellColumns.Author, 'JAM Software'); TJamFileOperation.SetProperties('C:UsersPublicMusicsample.mp3', Properties); Properties.Free; end;