FileDialogCustomPlace 类

定义

表示 FileDialog 自定义空间列表中的项。Represents an entry in a FileDialog custom place list.

public ref class FileDialogCustomPlace sealed
public sealed class FileDialogCustomPlace
type FileDialogCustomPlace = class
Public NotInheritable Class FileDialogCustomPlace
继承
FileDialogCustomPlace

注解

从开始, "打开和保存文件" 对话框的左侧有一个 "收藏夹链接" 面板, 使用户能够快速导航到不同的位置。 Windows VistaWindows VistaStarting in Windows VistaWindows Vista, open and save file dialog boxes have a Favorite Links panel on the left side of the dialog box that allows the user to quickly navigate to a different location. 这些链接称为自定义位置。These links are called custom places. 此类允许您修改您的应用程序使用文件对话框时显示的列表。This class allows you to modify the list that appears when your application uses a file dialog box. 有关自定义位置的已知文件夹的列表,请参阅 FileDialogCustomPlacesFor the list of known folders for custom places, see FileDialogCustomPlaces.

构造函数

FileDialogCustomPlace(Guid)

使用指定的已知文件夹 GUID 初始化 FileDialogCustomPlace 类的新实例。Initializes a new instance of the FileDialogCustomPlace class with the specified known folder GUID.

FileDialogCustomPlace(String)

使用指定的路径初始化 FileDialogCustomPlace 类的新实例。Initializes a new instance of the FileDialogCustomPlace class with the specified path.

属性

KnownFolder

获取自定义空间的已知文件夹的 GUID。Gets the GUID of the known folder for the custom place.

Path

获取自定义空间的文件路径。Gets the file path for the custom place.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅