共用方式為


SPAttachmentCollection.Count property

取得集合中的附件數目。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Count As Integer
    Get
'用途
Dim instance As SPAttachmentCollection
Dim value As Integer

value = instance.Count
public int Count { get; }

Property value

Type: System.Int32
32 位元整數,表示附件的數目。

Implements

ICollection.Count

請參閱

參照

SPAttachmentCollection class

SPAttachmentCollection members

Microsoft.SharePoint namespace