UserInteractionServices.GetFolderIcon Method
Gets the icon for a folder according to the request folder style.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function GetFolderIcon ( _
style As FolderIconStyle _
) As Bitmap
'Usage
Dim instance As UserInteractionServices
Dim style As FolderIconStyle
Dim returnValue As Bitmap
returnValue = instance.GetFolderIcon(style)
public virtual Bitmap GetFolderIcon(
FolderIconStyle style
)
public:
virtual Bitmap^ GetFolderIcon(
FolderIconStyle style
)
public function GetFolderIcon(
style : FolderIconStyle
) : Bitmap
abstract GetFolderIcon :
style:FolderIconStyle -> Bitmap
override GetFolderIcon :
style:FolderIconStyle -> Bitmap
Parameters
- style
Type: Microsoft.Data.Schema.Extensibility.FolderIconStyle
The request folder style
Return Value
Type: System.Drawing.Bitmap
.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.