Skip to main content
.NET 8.0+

DataSourcePropertyAttribute Constructors

Specifies the data source for a reference, collection, or enumeration property.
Name Parameters Description
DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode, String, String[]) dataSourceProperty, dataSourcePropertyIsNullMode, dataSourcePropertyIsNullCriteria, usedProperties Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourcePropertyAttribute.DataSourceProperty, DataSourcePropertyAttribute.DataSourcePropertyIsNullMode, DataSourcePropertyAttribute.DataSourcePropertyIsNullCriteria, and DataSourcePropertyAttribute.UsedProperties properties.
DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode, String[]) dataSourceProperty, mode, usedProperties Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourcePropertyAttribute.DataSourceProperty, DataSourcePropertyAttribute.DataSourcePropertyIsNullMode, and DataSourcePropertyAttribute.UsedProperties properties.
DataSourcePropertyAttribute(String, String[]) dataSourceProperty, usedProperties Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourceProperty and UsedProperties properties.
See Also