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
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
An IModelElement object.
Return Value
Type: System.Drawing.Bitmap
A bitmap for the requested icon.
.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.