DeleteFile(String,String) Method (PdfAttachmentCollection)
Removes the file from folder with specified full name.
'Declaration
Public Overloads Function DeleteFile( _
ByVal As System.String, _
ByVal As System.String _
) As Boolean
public bool DeleteFile(
System.String ,
System.String
)
public: bool DeleteFile(
System.String ,
System.String
)
public:
bool DeleteFile(
System.String ,
System.String
)
Parameters
- folderFullName
- Full name of the folder.
- filename
- The filename.
Return Value
True if file is removed; otherwise, false.
Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5