ImageButton コンストラクター

定義

ImageButton クラスの新しいインスタンスを初期化します。

public:
 ImageButton();
public ImageButton ();
Public Sub New ()

次の例では、 クラスの新しいインスタンスを作成して初期化する方法を ImageButton 示します。

void Page_Load(Object sender, EventArgs e)
{
   ImageButton img_button = new ImageButton();
}
Sub Page_Load(sender As Object, e As EventArgs)
    Dim img_button As New ImageButton()
End Sub

注釈

このコンストラクターを使用して、 クラスの ImageButton 新しいインスタンスを作成および初期化します。

適用対象

こちらもご覧ください