編輯

共用方式為


FolderBrowserDialog.ClientGuid Property

Definition

Gets or sets the GUID to associate with this dialog state. Typically, state such as the last visited folder and the position and size of the dialog is persisted based on the name of the executable file. By specifying a GUID, an application can have different persisted states for different versions of the dialog within the same application (for example, an import dialog and an open dialog).

This functionality is not available if an application is not using visual styles or if AutoUpgradeEnabled is set to false.

public:
 property Nullable<Guid> ClientGuid { Nullable<Guid> get(); void set(Nullable<Guid> value); };
[System.ComponentModel.Browsable(false)]
public Guid? ClientGuid { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ClientGuid : Nullable<Guid> with get, set
Public Property ClientGuid As Nullable(Of Guid)

Property Value

Attributes

Applies to