共用方式為


XDocumentClass._XDocument3_Role 屬性

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

語法

'宣告
Public Overridable Property _XDocument3_Role As String Implements _XDocument3.Role
'用途
Dim instance As XDocumentClass
Dim value As String

value = CType(instance, _XDocument3).Role

CType(instance, _XDocument3).Role = value
public virtual string _XDocument3.Role { get; set; }

請參閱

參考

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