UserInteractionServices.GetFolderIcon Method
Returns a bitmap icon that is selected according to the provided style indication.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
Parameters
- style
Type: Microsoft.Data.Schema.FolderIconStyle
A member of the FolderIconStyle enumeration.
Return Value
Type: System.Drawing.Bitmap
An icon that indicates whether the folder is open or closed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.