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
参数
- style
类型:Microsoft.Data.Schema.FolderIconStyle
FolderIconStyle 枚举的成员。
返回值
类型:System.Drawing.Bitmap
一个图标,指示文件夹处于打开还是关闭状态。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。