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

Return Value

Type: System.Drawing.Bitmap
An icon that indicates whether the folder is open or closed.

.NET Framework Security

See Also

Reference

UserInteractionServices Class

Microsoft.Data.Schema Namespace

FolderIconStyle