共用方式為


DatabasePropertyPageUserControlBase.AcceptEnterKey 方法

讓按鈕能夠如同按一下按鈕般地回應 Enter 鍵。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Protected Sub AcceptEnterKey ( _
    sender As Object, _
    e As KeyPressEventArgs _
)
protected void AcceptEnterKey(
    Object sender,
    KeyPressEventArgs e
)
protected:
void AcceptEnterKey(
    Object^ sender, 
    KeyPressEventArgs^ e
)
member AcceptEnterKey : 
        sender:Object * 
        e:KeyPressEventArgs -> unit 
protected function AcceptEnterKey(
    sender : Object, 
    e : KeyPressEventArgs
)

參數

.NET Framework 安全性

請參閱

參考

DatabasePropertyPageUserControlBase 類別

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空間