Partager via


CameraCaptureDialog.InitialDirectory Property

3/29/2010

Gets or sets the name of the directory for storing the captured image or video file.

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

Syntax

public string InitialDirectory { get; set; }
'Declaration
Public Property InitialDirectory As String

Remarks

If NULL, the image or video file is stored in the directory specified in Picture & Video > Camera Options > Save files to:. If the directory does not exist, a System.ArgumentException exception is raised.

Thread Safety

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

See Also

Reference

CameraCaptureDialog Class
CameraCaptureDialog Members
Microsoft.WindowsMobile.Forms Namespace