Skip to main content
.NET Framework 4.5.2+

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.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public NullValueAttribute(
    Type type,
    string attributeValue
)

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.

attributeValue String

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

See Also