DocumentBase.DisableFeatures 屬性

取得或設定值,指出是否停用 DisableFeaturesIntroducedAfter 屬性所指定版本之後引入的所有功能。

命名空間:  Microsoft.Office.Tools.Word
組件:  Microsoft.Office.Tools.Word.v4.0.Utilities (在 Microsoft.Office.Tools.Word.v4.0.Utilities.dll 中)

語法

'宣告
Public Property DisableFeatures As Boolean
    Get
    Set
public bool DisableFeatures { get; set; }

屬性值

型別:System.Boolean
如果停用 DisableFeaturesIntroducedAfter 屬性所指定版本之後引入的所有功能,則為 true,否則為 false。

備註

此屬性只會影響要設定屬性的目標文件。 如果您想要在舊版 Microsoft Office Word 使用者間共用文件,請使用此屬性,這樣才不會引入在舊版 Word 上無法使用的功能。

使用 DisableFeaturesbyDefault 屬性,停用在指定版本之後引入的所有文件功能。

.NET Framework 安全性

請參閱

參考

DocumentBase 類別

Microsoft.Office.Tools.Word 命名空間