Delete an asset binary storage by its location and extension.

Namespace: Cartella.Interfaces
Assembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
bool DeleteAssetBinary(
	string location,
	string extension
)
Visual Basic
Function DeleteAssetBinary ( _
	location As String, _
	extension As String _
) As Boolean
Visual C++
bool DeleteAssetBinary(
	String^ location, 
	String^ extension
)

Parameters

location
Type: System..::..String
Location of the Asset Binary, the location originally returned by the CreateAssetBinary method in the Storage Provider
extension
Type: System..::..String
File Extension

Return Value

True for success, false if no binary exists in the location

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown if null of empty location passed in

See Also