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
[C#]
public AssemblySlashDoc this[
   int index
] { get; set; }
[C++]
public: __property AssemblySlashDoc* get_Item(
   int index
);
public: __property void set_Item(
   int index,
   AssemblySlashDoc* newValue
);
[JScript]
returnValue = AssemblySlashDocCollectionObject.Item( index );
AssemblySlashDocCollectionObject.Item( index ) = newValue;
-or-
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.

Parameters

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

Property Value

The AssemblySlashDoc at the specified index

Exceptions

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