setCollectedProperties method
Specifies which properties will be collected in the save dialog.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifilesavedialog-setcollectedproperties.
Implementation
@pragma('vm:prefer-inline')
void setCollectedProperties(
IPropertyDescriptionList? pList,
bool fAppendDefault,
) {
final hr$ = HRESULT(
_SetCollectedPropertiesFn(
ptr,
pList?.ptr ?? nullptr,
fAppendDefault ? TRUE : FALSE,
),
);
if (hr$.isError) throw WindowsException(hr$);
}