Button 介面
Button 物件是 Microsoft Office InfoPath 2007 物件,作用為實作 _ButtonEventSink 事件,該事件與 InfoPath 表單上的按鈕相關聯。
**命名空間:**Microsoft.Office.Interop.InfoPath
**組件:**Microsoft.Office.Interop.InfoPath (於 microsoft.office.interop.infopath.dll 中)
語法
'宣告
<CoClassAttribute(GetType(ButtonClass))> _
Public Interface Button
Inherits _ButtonEventSink_Event
'用途
Dim instance As Button
[CoClassAttribute(typeof(ButtonClass))]
public interface Button : _ButtonEventSink_Event
備註
無法在程式碼中直接使用 Button 物件。