SqlUserInteractionServices.GetIcon Method (ModelElementClass, ElementIconState)
Returns the icon for the specified ModelElementClass and state.
Namespace: Microsoft.Data.Schema.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Overrides Function GetIcon ( _
elementType As ModelElementClass, _
state As ElementIconState _
) As Bitmap
public override Bitmap GetIcon(
ModelElementClass elementType,
ElementIconState state
)
public:
virtual Bitmap^ GetIcon(
ModelElementClass^ elementType,
ElementIconState state
) override
abstract GetIcon :
elementType:ModelElementClass *
state:ElementIconState -> Bitmap
override GetIcon :
elementType:ModelElementClass *
state:ElementIconState -> Bitmap
public override function GetIcon(
elementType : ModelElementClass,
state : ElementIconState
) : Bitmap
Parameters
- elementType
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
The model element class for which you want the icon.
- state
Type: Microsoft.Data.Schema.ElementIconState
The state of the model element class for which you want the icon.
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.