Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionBuilder.SetDestroyMethodName Method

Sets the name of the destroy method for this definition.

[Visual Basic]
Public Sub SetDestroyMethodName( _
   ByVal methodName As String _
)
[C#]
public ObjectDefinitionBuilder SetDestroyMethodName(
   string methodName
);

Parameters

methodName
Name of the method.

Return Value

The current

ObjectDefinitionBuilder
.

See Also

ObjectDefinitionBuilder Class | Spring.Objects.Factory.Support Namespace