UserInteractionServices.GetIcon 方法 (IModelElement)
傳回在 UI 中使用的圖示點陣圖,以符合所提供的項目。
命名空間: Microsoft.Data.Schema
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
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
參數
- element
型別:Microsoft.Data.Schema.SchemaModel.IModelElement
IModelElement 物件。
傳回值
型別:System.Drawing.Bitmap
要求之圖示的點陣圖。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。