Deletes the specified file in the Attachments folder in the FeatureManager design tree.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function DeleteAttachment( _
ByVal FileName As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim FileName As System.String
Dim value As System.Boolean
value = instance.DeleteAttachment(FileName) |
C# | |
---|
System.bool DeleteAttachment(
System.string FileName
) |
C++/CLI | |
---|
System.bool DeleteAttachment(
& System.String^ FileName
) |
Parameters
- FileName
- Name of the file to delete from the Attachments folder in the FeatureManager design tree
Return Value
True if the file is deleted, false if not
See Also
Availability
SOLIDWORKS 2005 FCS, Revision Number 13.0