[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a statistic based on the contents of the document.
Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
- Type: System.Object
true to include footnotes and endnotes when computing statistics. The default value is false.
Return ValueType: System.Int32
The number of items of the type specified by the Statistic parameter that are in the document.
For information on optional parameters, see Optional Parameters in Office Solutions.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.