When applied to a property this attribute persists the value of the property in the DNN ModuleSettings referenced by the ModuleId within the context.

Namespace: DotNetNuke.Entities.Modules.Settings
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false, 
	Inherited = true)]
public class ModuleSettingAttribute : ParameterAttributeBase
Visual Basic
<SerializableAttribute>
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := false, 
	Inherited := true)> 
Public Class ModuleSettingAttribute
	Inherits ParameterAttributeBase

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    DotNetNuke.Entities.Modules.Settings..::..ParameterAttributeBase
      DotNetNuke.Entities.Modules.Settings..::..ModuleSettingAttribute

See Also