Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinition.DestroyMethodName Property

Return the name of the destroy method.

[Visual Basic]
Public MustOverride ReadOnly Property DestroyMethodName() As String
   Public Get
   End Get
End Property
[C#]
public string DestroyMethodName { public get; }

Remarks

The default is a null reference (Nothing in Visual Basic), in which case there is no destroy method.

See Also

IObjectDefinition Interface | Spring.Objects.Factory.Config Namespace