 | 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.InterfacesAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic virtual bool CheckSupportedPropertyOperation(
int lPropertyAction,
string bsFilename,
ref bool rbSupported,
ref string roErrorMsg
)
Public Overridable Function CheckSupportedPropertyOperation (
lPropertyAction As Integer,
bsFilename As String,
ByRef rbSupported As Boolean,
ByRef roErrorMsg As String
) As Boolean
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
BooleanReturn true if CT Core should consider
rbSupported, false otherwise.
Revision HistoryDate | Version | Description |
---|
- | 2022 SP1 | First Release |
See Also