次の方法で共有


XDocumentsCollectionClass.Open メソッド

この型は、COM の相互運用のためにマネージ コードで必要とされるコクラスまたはコクラス メンバのラッパーです。このクラスは、コード内で使用するためのものではありません。

名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)

構文

'宣言
<DispIdAttribute(3)> _
Public Overridable Function Open ( _
    <InAttribute> varURI As Object, _
    <InAttribute> <OptionalAttribute> Optional dwBehavior As Integer = 1 _
) As XDocument Implements XDocuments2.Open
'使用
Dim instance As XDocumentsCollectionClass
Dim varURI As Object
Dim dwBehavior As Integer
Dim returnValue As XDocument

returnValue = CType(instance, XDocuments2).Open(varURI, dwBehavior)
[DispIdAttribute(3)] 
public virtual XDocument XDocuments2.Open (
    [InAttribute] Object varURI,
    [OptionalAttribute] [InAttribute] int dwBehavior
)

パラメータ

  • varURI
  • dwBehavior

関連項目

参照

XDocumentsCollectionClass クラス
XDocumentsCollectionClass のメンバ
Microsoft.Office.Interop.InfoPath 名前空間