Share via


Scripts.Count Property

Returns an Integer indicating the number of items in the specified collection.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As Scripts
Dim value As Integer

value = instance.Count
int Count { get; }

Property Value

Type: System.Int32

Remarks

Some of the content in this topic may not be applicable to some languages.

The count returned is the number of script blocks in the specified document. In Microsoft Word, Scripts.Count returns the total number of inline and floating script anchors combined.

See Also

Reference

Scripts Interface

Scripts Members

Microsoft.Office.Core Namespace