Gets the file name to be used in the event handler for the Save event.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
If the IsSaveAs property of the SaveEventArgs object is true, and a save operation has not yet occurred, the FileName property returns an empty string. If the IsSaveAs property is true and a save operation has already occurred, the value returned by the FileName property is the file name under which the form was saved. If the IsSaveAs property is false, the FileName property returns the same value as the Uri property of the XmlForm object.
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.