NSWhoseSpecifier uses these constants to specify sub-elements within the collection of objects being tested that pass the specifier’s test.
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public enum NSWhoseSubelementIdentifier
Public Enumeration NSWhoseSubelementIdentifier
public enum class NSWhoseSubelementIdentifier

Member | Description |
---|---|
NSIndexSubelement | An element at a given index that meets the specifier test. Available in Mac OS X v10.0 and later. |
NSEverySubelement | Every element that meets the specifier test. Available in Mac OS X v10.0 and later. |
NSMiddleSubelement | The middle element that meets the specifier test. Available in Mac OS X v10.0 and later. |
NSRandomSubelement | Any element that meets the specifier test. Available in Mac OS X v10.0 and later. |
NSNoSubelement | No sub-element met the specifier test. Valid only for specifying the end sub-element.; that is, there is no end, so consider all elements. Available in Mac OS X v10.0 and later. |

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)