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

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

Syntax

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

Inheritance Hierarchy

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

See Also