UserInteractionServices.GetIcon Yöntem (ModelElementClass, ElementIconState)
Arabiriminde sağlanan öğesi ve simge durumuna eşleşmesi için kullanılacak bir simge için bir bit eşlem döndürür.
Ad alanı: Microsoft.Data.Schema
Derleme: Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)
Sözdizimi
'Bildirim
Public Overridable Function GetIcon ( _
elementType As ModelElementClass, _
state As ElementIconState _
) As Bitmap
public virtual Bitmap GetIcon(
ModelElementClass elementType,
ElementIconState state
)
public:
virtual Bitmap^ GetIcon(
ModelElementClass^ elementType,
ElementIconState state
)
abstract GetIcon :
elementType:ModelElementClass *
state:ElementIconState -> Bitmap
override GetIcon :
elementType:ModelElementClass *
state:ElementIconState -> Bitmap
public function GetIcon(
elementType : ModelElementClass,
state : ElementIconState
) : Bitmap
Parametreler
- elementType
Tür: Microsoft.Data.Schema.SchemaModel.ModelElementClass
ModelElementClass nesnesi
- state
Tür: Microsoft.Data.Schema.ElementIconState
Üye ElementIconState numaralandırma.
Dönüş Değeri
Tür: System.Drawing.Bitmap
İstenen simgesi için bir bit eşlem.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.