CmsRecipientCollection.Item Property

The Item property retrieves the CmsRecipient object at the specified index in the collection.

Namespace: System.Security.Cryptography.Pkcs
Assembly: System.Security (in

public CmsRecipient this [
	int index
] { get; }
/** @property */
public CmsRecipient get_Item (int index)

Not applicable.



An Int32 value that represents the index in the collection. The index is zero based.

Property Value

A CmsRecipient object at the specified index.

Exception typeCondition


The value of an argument was outside the allowable range of values as defined by the called method.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0