Name Property
Description
The attachment name.
Property type
Read-only property
Syntax
Visual Basic
Public Property Name( _
   Optional ByVal ViewFormat As Long = 0 _
) As String
Parameters
ViewFormat

If 1 is passed, the return value is the name of the file that was attached. For example, SampleAttachment.txt.

If 0 is passed , the return value is a file name with a prefix indicating its item type and number as stored in the project database. For example, BUG_1_SampleAttachment.txt.

See Also