Attributes.Count property

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, Windows XP. Instead, use the CryptographicAttributeObjectCollection Class in the System.Security.Cryptography namespace.]

The Count property retrieves the number of Attribute objects in the collection.

This property is read-only.

Syntax

Attributes.Count As Long

Property value

The number of Attribute objects in the collection. Each Attribute object represents a single attribute in the collection.

Remarks

The Count property can be used to specify the last Attribute object in the collection when retrieving a specific Attribute object by using the Attributes.Item property.

Requirements

Requirement Value
End of client support
Windows Vista
End of server support
Windows Server 2008
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

Attributes