Permission.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 Permission
Dim value As Integer

value = instance.Count
int Count { get; }

Property Value

Type: System.Int32

Remarks

Returns 0 (zero) if permissions are not enabled on the active document. When permissions are enabled, the Count property always returns at least 1, representing the permissions of the document author.

See Also

Reference

Permission Interface

Permission Members

Microsoft.Office.Core Namespace