Application.ArbitraryXMLSupportAvailable 屬性(Word)Application.ArbitraryXMLSupportAvailable property (Word)

會傳回Boolean ,代表 Microsoft Word 是否接受自訂的 XML 架構。Returns a Boolean that represents whether Microsoft Word accepts custom XML schemas. True 表示 Word 可接受自訂的 XML 結構描述。True indicates that Word accepts custom XML schemas.

語法Syntax

expressionexpression. ArbitraryXMLSupportAvailable

_運算式_會傳回**Application** 物件的運算式。expression An expression that returns an Application object.

註解Remarks

Microsoft Office Standard Edition 2003 包含使用 Word XML 結構描述的 XML 支援,但不提供支援的自訂 XML 結構描述。Microsoft Office Standard Edition 2003 includes XML support using the Word XML schema, but it does not provide support for custom XML schemas. 支援自訂 XML 結構描述是只適用於獨立版本的 Office Word 2003 或更大和 Office Professional Edition 2003 或更大。Support for custom XML schemas is available only in the stand-alone release of Office Word 2003 or greater and in Office Professional Edition 2003 or greater. 使用 ArbitraryXMLSupportAvailable 屬性可判斷其釋出已安裝。Use the ArbitraryXMLSupportAvailable property to determine which release is installed.

範例Example

下面程式碼會在已安裝的 Word 版本不支援自訂 XML 結構描述時顯示訊息。The following code displays a message if the installed version of Word does not support custom XML schemas.

If Application.ArbitraryXMLSupportAvailable = False Then 
 MsgBox "Custom XML schemas are not " & _ 
 "supported in this version of Microsoft Word."

另請參閱See also

Application 物件Application Object

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.