Click or drag to resize

FileHandlerExtension.CheckSupportedPropertyOperation Method

Validate the selected Property action before the action is executed. Called for all actions when Default action is selected to determine which operations really are supported.

Namespace: CTExtensions.Interfaces
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public virtual bool CheckSupportedPropertyOperation(
	int lPropertyAction,
	string bsFilename,
	ref bool rbSupported,
	ref string roErrorMsg
)

Parameters

lPropertyAction  Int32
SaveOperation
bsFilename  String
Current filename of the document
rbSupported  Boolean
return false to prevent user from exiting Properties with given lPropertyAction or return true when the action CAN be supported even thoguh the CT Core would otherwise define it unsupported (e.g. Renaming when file is read-only).
roErrorMsg  String
Error message to show for the user when preventing exit using rbSupported.

Return Value

Boolean
Return true if CT Core should consider rbSupported, false otherwise.
Revision History
DateVersionDescription
-2022 SP1First Release
See Also