Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractApplicationContext.ContainsLocalObject Method

Determines whether the local object factory contains a bean of the given name, ignoring object defined in ancestor contexts. This is an alternative to

ContainsObject
, ignoring an object of the given name from an ancestor object factory.

[Visual Basic]
Public NotOverridable Sub ContainsLocalObject( _
   ByVal name As String _
) _
    Implements IHierarchicalObjectFactory.ContainsLocalObject
[C#]
public bool ContainsLocalObject(
   string name
);

Parameters

name
The name of the object to query.

Return Value

true if objects with the specified name is defined in the local factory; otherwise, false.

Implements

IHierarchicalObjectFactory.ContainsLocalObject

Remarks

See Also

AbstractApplicationContext Class | Spring.Context.Support Namespace