Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertyPlaceholderConfigurer.ResolvePlaceholder(String, NameValueCollection, EnvironmentVariableMode) Method

Resolve the given placeholder using the given name value collection, performing an environment variables check according to the given mode.

[Visual Basic]
Protected Overridable Overloads Sub ResolvePlaceholder( _
   ByVal placeholder As String, _
   ByVal props As NameValueCollection, _
   ByVal mode As EnvironmentVariableMode _
protected virtual string ResolvePlaceholder(
   string placeholder,
   NameValueCollection props,
   EnvironmentVariableMode mode


The placeholder to resolve
The merged name value collection of this configurer.
The environment variable mode.

Return Value

The resolved value or a null reference (Nothing in Visual Basic) if none.


The default implementation delegates to ResolvePlaceholder before/afer the environment variable check. Subclasses can override this for custom resolution strategies, including customized points for the environment properties check.

See Also

PropertyPlaceholderConfigurer Class | Spring.Objects.Factory.Config Namespace | PropertyPlaceholderConfigurer.ResolvePlaceholder Overload List