共用方式為


DocumentBase.XMLUseXSLTWhenSaving Property

Gets or sets a value that indicates whether to save a document through an Extensible Stylesheet Language Transformation (XSLT).

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

Syntax

'Declaration
Public Property XMLUseXSLTWhenSaving As Boolean
public bool XMLUseXSLTWhenSaving { get; set; }

Property Value

Type: System.Boolean
true if the document is saved through an XSLT; otherwise, false.

Remarks

When setting the XMLUseXSLTWhenSaving property to true, use the XMLSaveThroughXSLT property to specify the path and file name of the XSLT to use.

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace