'Declaration
Public Function AddAttachment( _ ByVal fileLocation As String, _ Optional ByVal displayName As String _ ) As NotificationAttachment
public NotificationAttachment AddAttachment( string fileLocation, string displayName )
public: NotificationAttachment^ AddAttachment( String^ fileLocation, String^ displayName )
Parameters
- fileLocation
- The name of the file to attach.
- displayName
- The name that should be used for the attachment, if different from the original file name.