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
- elementType
Type: Microsoft.Data.Schema.SchemaModel.ElementClass
The element type
- state
Type: Microsoft.Data.Schema.Extensibility.IconState
The icon state
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.