Click or drag to resize

FileHandlerExtensionRequestWriteAccess Method

Obtain modifiable local copy for the ID provided by IdentifyLocalFile(String, Array). ReleaseWriteAccessInBatch(Int32, Array, String) MUST be called if and only if this function returns true. This function cab return false AND a valid bsLocalFilePath if the file in given local path is modifiable but there is no need to call ReleaseWriteAccessInBatch(Int32, Array, String).

Namespace:  CTExtensions.Interfaces
Assembly:  CTInterface (in CTInterface.dll)
Syntax
public virtual bool RequestWriteAccess(
	Array id,
	ref string bsLocalFilePath
)

Parameters

id
Type: SystemArray
Id retrieved with IdentifyLocalFile(String, Array).
bsLocalFilePath
Type: SystemString
Modifiable local file, or null if not handled

Return Value

Type: Boolean
True if provided modifiable file must be released with ReleaseWriteAccessInBatch(Int32, Array, String), false otherwise.
Availability

CUSTOMTOOLS 2021 SP0


See Also