Share via


UserInteractionServices.GetIcon Method (ElementClass, IconState)

Gets the icon for a certain ElementClass 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 ( _
    elementType As ElementClass, _
    state As IconState _
) As Bitmap
'Usage
Dim instance As UserInteractionServices
Dim elementType As ElementClass
Dim state As IconState
Dim returnValue As Bitmap

returnValue = instance.GetIcon(elementType, _
    state)
public virtual Bitmap GetIcon(
    ElementClass elementType,
    IconState state
)
public:
virtual Bitmap^ GetIcon(
    ElementClass^ elementType, 
    IconState state
)
public function GetIcon(
    elementType : ElementClass, 
    state : IconState
) : Bitmap
abstract GetIcon : 
        elementType:ElementClass * 
        state:IconState -> Bitmap 
override GetIcon : 
        elementType:ElementClass * 
        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