Export (0) Print
Expand All

SearchResultCollection.Item Property

Gets the SearchResult object that is located at a specified index in this collection.

Namespace: System.DirectoryServices
Assembly: System.DirectoryServices (in system.directoryservices.dll)

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

Not applicable.

Parameters

index

The zero-based index of the SearchResult object to retrieve.

Property Value

The SearchResult object that is located at the specified index.

In C#, this property is the indexer for the SearchResultCollection class.

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 with an index type of String.

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, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft