NDoc 1.3.1 SDK

AssemblySlashDocCollection.Item Property

Gets or sets the AssemblySlashDoc at the specified index.

[C#] In C#, this property is the indexer for the AssemblySlashDocCollection class.

[Visual Basic]
Public Default Property Item( _ 
   ByVal index As Integer _ 
) As AssemblySlashDoc
public AssemblySlashDoc this[
   int index
] { get; set; }
public: __property AssemblySlashDoc* get_Item(
   int index
public: __property void set_Item(
   int index,
   AssemblySlashDoc* newValue
returnValue = AssemblySlashDocCollectionObject.Item( index );
AssemblySlashDocCollectionObject.Item( index ) = newValue;
returnValue = AssemblySlashDocCollectionObject( index );
AssemblySlashDocCollectionObject( index ) = newValue;

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.


The zero-based index of the AssemblySlashDoc to get or set.

Property Value

The AssemblySlashDoc at the specified index


Exception TypeCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the collection.
ArgumentNullExceptionset value is a a null reference (Nothing in Visual Basic).

See Also

AssemblySlashDocCollection Class | NDoc.Core Namespace