Skip to main content
.NET 6.0+

NullValueAttribute(Type, String) Constructor

Initializes a new instance of the NullValueAttribute class and converts the specified value into the specified type.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public NullValueAttribute(
    Type type,
    string value
)

Parameters

Name Type Description
type Type

A Type which represents the type that the value associated with the null value of a property or a field is converted to.

value String

A String value which is converted into the specified type. This value is assigned to the NullValueAttribute.Value property.

See Also