Class PropertySettingsAttribute
Used to define that a specific property setting should be used for a given property.
Inheritance
System.Object
PropertySettingsAttribute
Namespace: EPiServer.DataAnnotations
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public sealed class PropertySettingsAttribute : Attribute
Constructors
PropertySettingsAttribute(Type)
Initializes a new instance of the PropertySettingsAttribute class.
Declaration
public PropertySettingsAttribute(Type settingsType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | settingsType | Type of settings entity to use. |
Properties
SettingsType
Gets or sets the type of settings entity.
Declaration
public Type SettingsType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | The type of the settings class that you want to use. |
Remarks
The settings class needs to inherit from PropertySettings.