ContentIterator.ListHasIndexedContentType method

Determines whether the content type field ID is indexed for the SPList object.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

public static bool ListHasIndexedContentType(
	SPList list


Type: Microsoft.SharePoint.SPList

The SPList.

Return value

Type: System.Boolean
true if the field is indexed; otherwise, false.
Returns Boolean.

If the content type field is not indexed, queries on content type are subject to throttling.