Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
3/29/2010

Gets or sets the still image or video image file name.

Namespace:Microsoft.WindowsMobile.Forms
Assembly:Microsoft.WindowsMobile.Forms (in microsoft.windowsmobile.forms.dll)

Syntax

Remarks

Still images on Windows Mobile devices conform to the JPEG standard. As a result, file names for still images must end in *.jpg. There is no restriction for naming video files, other than the file format must be supported by Windows Media Player Mobile. Since different video encoders can use differing naming conventions, it is important that the file name has the correct extension. To be safe, you can simply use NULL when naming Video files. If DefaultFileName is NULL, then the file name specified in Picture & Video > Camera Options > Type filename prefix: is used. If the file already exists, it is overwritten. The combination of InitialDirectory and DefaultFileName must not exceed 256 characters.


Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.WindowsMobile.Forms.CameraCaptureDialog

Thread Safety

Any public static ( Sharedin Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also