Share via


UserInteractionServices.GetIcon Method (IModelElement)

Returns a bitmap for an icon to use in the UI to match the provided element.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Overridable Function GetIcon ( _
    element As IModelElement _
) As Bitmap
public virtual Bitmap GetIcon(
    IModelElement element
)
public:
virtual Bitmap^ GetIcon(
    IModelElement^ element
)
abstract GetIcon : 
        element:IModelElement -> Bitmap 
override GetIcon : 
        element:IModelElement -> Bitmap 
public function GetIcon(
    element : IModelElement
) : Bitmap

Parameters

Return Value

Type: System.Drawing.Bitmap
A bitmap for the requested icon.

.NET Framework Security

See Also

Reference

UserInteractionServices Class

GetIcon Overload

Microsoft.Data.Schema Namespace

IModelElement