共用方式為


_XDocument.SaveAs 方法

此成員為 COM 介面的成員,已經由較新的版本所取代。此介面的較新版本可以實作介面舊版的所有成員以及其他新成員。如需以新版介面實作之成員 (包括用法、備註及範例) 的詳細資訊,請參閱 _XDocument3.SaveAs

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

語法

'宣告
<DispIdAttribute(2)> _
Sub SaveAs ( _
    <InAttribute> bstrFileUrl As String _
)
'用途
Dim instance As _XDocument
Dim bstrFileUrl As String

instance.SaveAs(bstrFileUrl)
[DispIdAttribute(2)] 
void SaveAs (
    [InAttribute] string bstrFileUrl
)

參數

  • bstrFileUrl

請參閱

參考

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