SPDocDiscussionCollection.Count Property

NOTE: This API is now obsolete.

Gets the number of documents in a library that have discussions associated with them.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("SPDocDiscussionCollection is deprecated", False)> _
Public Overrides ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPDocDiscussionCollection
Dim value As Integer

value = instance.Count
[ObsoleteAttribute("SPDocDiscussionCollection is deprecated", false)]
public override int Count { get; }

Property Value

Type: System.Int32
A 32-bit integer that represents the number of documents with discussions associated with them.

Implements

ICollection.Count

See Also

Reference

SPDocDiscussionCollection Class

SPDocDiscussionCollection Members

Microsoft.SharePoint Namespace