共用方式為


_XDocument3.UI 屬性

傳回 UIObject 物件的參照。

**命名空間:**Microsoft.Office.Interop.InfoPath
**組件:**Microsoft.Office.Interop.InfoPath (於 microsoft.office.interop.infopath.dll 中)

語法

'宣告
<DispIdAttribute(28)> _
ReadOnly Property UI As UIObject
'用途
Dim instance As _XDocument3
Dim value As UIObject

value = instance.UI
[DispIdAttribute(28)] 
UIObject UI { get; }

屬性值

UIObject 物件的參照。

備註

UI (使用者介面) 物件會提供一些可用於顯示自訂及內建對話方塊的方法。

範例

在下列範例中,XDocument 物件的 UI 屬性是用於顯示使用 Alert 方法的簡單訊息方塊:

thisXDocument.UI.Alert("Here is the message text.");

請參閱

參考

_XDocument3 介面
_XDocument3 成員
Microsoft.Office.Interop.InfoPath 命名空間