Share via


UserInteractionServices.GetIcon Method (IModelElement, IconState)

Gets the icon for a certain element with a passed-in state.

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

Syntax

'Declaration
Public Overridable Function GetIcon ( _
    element As IModelElement, _
    state As IconState _
) As Bitmap
'Usage
Dim instance As UserInteractionServices
Dim element As IModelElement
Dim state As IconState
Dim returnValue As Bitmap

returnValue = instance.GetIcon(element, _
    state)
public virtual Bitmap GetIcon(
    IModelElement element,
    IconState state
)
public:
virtual Bitmap^ GetIcon(
    IModelElement^ element, 
    IconState state
)
public function GetIcon(
    element : IModelElement, 
    state : IconState
) : Bitmap
abstract GetIcon : 
        element:IModelElement * 
        state:IconState -> Bitmap 
override GetIcon : 
        element:IModelElement * 
        state:IconState -> Bitmap 

Parameters

Return Value

Type: System.Drawing.Bitmap

.NET Framework Security

See Also

Reference

UserInteractionServices Class

UserInteractionServices Members

GetIcon Overload

Microsoft.Data.Schema.Extensibility Namespace