Skip to main content
.NET Framework 4.6.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.2.dll

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