Deletes the specified file in the Attachments folder in the FeatureManager design tree.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function DeleteAttachment( _
ByVal FileName As String _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim FileName As String
Dim value As Boolean
value = instance.DeleteAttachment(FileName)
|
C# | |
---|
bool DeleteAttachment(
string FileName
) |
C++/CLI | |
---|
bool DeleteAttachment(
& 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