共用方式為


XDocumentClass.ImportFile 方法

此類型為 coclass 或 coclass 成員的包裝函式,屬性 COM 互通性中的必要項。此類別不得用於程式碼中。

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

語法

'宣告
<DispIdAttribute(20)> _
Public Overridable Sub ImportFile ( _
    <InAttribute> bstrFileURI As String _
) Implements _XDocument2.ImportFile
'用途
Dim instance As XDocumentClass
Dim bstrFileURI As String

CType(instance, _XDocument2).ImportFile(bstrFileURI)
[DispIdAttribute(20)] 
public virtual void _XDocument2.ImportFile (
    [InAttribute] string bstrFileURI
)

參數

  • bstrFileURI

請參閱

參考

XDocumentClass 類別
XDocumentClass 成員
Microsoft.Office.Interop.InfoPath 命名空間