Udostępnij za pośrednictwem


Document.DisableFeatures Property (2007 System)

Gets or sets a value that indicates whether all features introduced after the version specified in the DisableFeaturesIntroducedAfter property are disabled.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property DisableFeatures As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.DisableFeatures

instance.DisableFeatures = value
[BrowsableAttribute(false)]
public bool DisableFeatures { get; set; }
[BrowsableAttribute(false)]
public:
property bool DisableFeatures {
    bool get ();
    void set (bool value);
}
public function get DisableFeatures () : boolean 
public function set DisableFeatures (value : boolean)

Property Value

Type: System.Boolean
true if all features introduced after the version specified in the DisableFeaturesIntroducedAfter property are disabled; otherwise, false.

Remarks

This property only affects the document for which you set the property. Use this property if you plan on sharing a document between users with earlier versions of Microsoft Office Word, so you do not introduce features that are not available in their versions of Word.

Use the DisableFeaturesbyDefault property to disable in all documents features introduced after a specified version.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace