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