NOTE: This member is now obsolete. This method is deprecated, please use DeleteFile(EntityID file_id, EntityID folder_id, FileChangeData change_data, IASyncWait waiter = null) instead.

Delete a file

Namespace: SynergyClientAPI.Files
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)

<Obsolete("This method is deprecated, please use DeleteFile(EntityID file_id, EntityID folder_id, FileChangeData change_data, IASyncWait waiter = null) instead.")> _ 
Public Shared Function DeleteFile( _ 
ByVal file_id As EntityID, _ 
ByVal change_data As FileChangeData, _ 
Optional ByVal waiter As IASyncWait = null _ 
) As OperationResponse
This language is not supported or no code example is available.
[Obsolete("This method is deprecated, please use DeleteFile(EntityID file_id, EntityID folder_id, FileChangeData change_data, IASyncWait waiter = null) instead.")] 
public static OperationResponse DeleteFile( 
EntityID file_id
FileChangeData change_data
IASyncWait waiter = null 
)
This language is not supported or no code example is available.
[Obsolete("This method is deprecated, please use DeleteFile(EntityID file_id, EntityID folder_id, FileChangeData change_data, IASyncWait waiter = null) instead.")] 
public:  
static OperationResponse^ DeleteFile( 
EntityID^ file_id
FileChangeData^ change_data
IASyncWait^ waiter 
)
This language is not supported or no code example is available.
public  
Obsolete("This method is deprecated, please use DeleteFile(EntityID file_id, EntityID folder_id, FileChangeData change_data, IASyncWait waiter = null) instead.") 
static function DeleteFile( 
file_id : EntityID
change_data : FileChangeData
waiter : IASyncWait 
) : OperationResponse;
This language is not supported or no code example is available.

Parameters

file_id
Type: EntityID

the id of the file to delete

change_data
Type: FileChangeData

the change data for the operation

waiter
Type: IASyncWait

an optional, custom waiter

Return Value

Type: OperationResponse

the reslt of the operation

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1