UserInteractionServices.GetIcon Method (IModelElement)
Gets the icon, given an element.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function GetIcon ( _
element As IModelElement _
) As Bitmap
'Usage
Dim instance As UserInteractionServices
Dim element As IModelElement
Dim returnValue As Bitmap
returnValue = instance.GetIcon(element)
public virtual Bitmap GetIcon(
IModelElement element
)
public:
virtual Bitmap^ GetIcon(
IModelElement^ element
)
public function GetIcon(
element : IModelElement
) : Bitmap
abstract GetIcon :
element:IModelElement -> Bitmap
override GetIcon :
element:IModelElement -> Bitmap
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element
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.