Skip to main content

TypeRegistration.TryGetParameterValue(String, out Object) Method

Gets the registered value for a constructor parameter that was registered using the TypeRegistration.WithCtorArgument methods.

Namespace: DevExpress.Utils.IoC

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public bool TryGetParameterValue(
    string name,
    out object value
)

Parameters

Name Type Description
name String

A String value.

value Object

A Object value.

Returns

Type Description
Boolean

true, if the constructor parameter value has been obtained; otherwise, false.

See Also