# Uses of Class
javax.naming.NameClassPair

Packages that use NameClassPair
Package
Description
javax.naming
Provides the classes and interfaces for accessing naming services.
javax.naming.directory
Extends the `javax.naming` package to provide functionality for accessing directory services.

## Uses of NameClassPair in javax.naming

Subclasses of NameClassPair in javax.naming
Modifier and Type
Class
Description
`class`
`Binding`
This class represents a name-to-object binding found in a context.
Methods in javax.naming that return types with arguments of type NameClassPair
Modifier and Type
Method
Description
`NamingEnumeration<NameClassPair>`
Context.`list​(String name)`
Enumerates the names bound in the named context, along with the class names of objects bound to them.
`NamingEnumeration<NameClassPair>`
Context.`list​(Name name)`
Enumerates the names bound in the named context, along with the class names of objects bound to them.
`NamingEnumeration<NameClassPair>`
InitialContext.`list​(String name)`
`NamingEnumeration<NameClassPair>`
InitialContext.`list​(Name name)`

## Uses of NameClassPair in javax.naming.directory

Subclasses of NameClassPair in javax.naming.directory
Modifier and Type
Class
Description
`class`
`SearchResult`
This class represents an item in the NamingEnumeration returned as a result of the DirContext.search() methods.