次の方法で共有


XDocumentClass.Role プロパティ

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

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

構文

'宣言
<DispIdAttribute(41)> _
Public Overridable Property Role As String Implements _XDocument2.Role
'使用
Dim instance As XDocumentClass
Dim value As String

value = CType(instance, _XDocument2).Role

CType(instance, _XDocument2).Role = value
[DispIdAttribute(41)] 
public virtual string _XDocument2.Role { get; set; }

関連項目

参照

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