UserInteractionServices.GetIcon Method (ModelElementClass)
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 ( _
elementType As ModelElementClass _
) As Bitmap
public virtual Bitmap GetIcon(
ModelElementClass elementType
)
public:
virtual Bitmap^ GetIcon(
ModelElementClass^ elementType
)
abstract GetIcon :
elementType:ModelElementClass -> Bitmap
override GetIcon :
elementType:ModelElementClass -> Bitmap
public function GetIcon(
elementType : ModelElementClass
) : Bitmap
Parameters
- elementType
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
A ModelElementClass 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.