UserInteractionServices.GetFolderIcon 方法

返回根据所提供的样式指示选择的位图图标。

命名空间:  Microsoft.Data.Schema
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public Overridable Function GetFolderIcon ( _
    style As FolderIconStyle _
) As Bitmap
public virtual Bitmap GetFolderIcon(
    FolderIconStyle style
)
public:
virtual Bitmap^ GetFolderIcon(
    FolderIconStyle style
)
abstract GetFolderIcon : 
        style:FolderIconStyle -> Bitmap 
override GetFolderIcon : 
        style:FolderIconStyle -> Bitmap 
public function GetFolderIcon(
    style : FolderIconStyle
) : Bitmap

参数

返回值

类型:System.Drawing.Bitmap
一个图标,指示文件夹处于打开还是关闭状态。

.NET Framework 安全性

请参见

参考

UserInteractionServices 类

Microsoft.Data.Schema 命名空间

FolderIconStyle