Show / Hide Table of Contents

Class ProfilePropertyDefinition

Inheritance
object
BaseEntityInfo
ProfilePropertyDefinition
Inherited Members
BaseEntityInfo.CreatedByUser(int)
BaseEntityInfo.LastModifiedByUser(int)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Entities.Profile
Assembly: DotNetNuke.dll
Syntax
public class ProfilePropertyDefinition : BaseEntityInfo

Constructors

ProfilePropertyDefinition()

Declaration
public ProfilePropertyDefinition()

ProfilePropertyDefinition(int)

Declaration
public ProfilePropertyDefinition(int portalId)
Parameters
Type Name Description
int portalId

Properties

DataType

Declaration
[List("DataType", "", ListBoundField.Id, ListBoundField.Value)]
[IsReadOnly(true)]
[Required(true)]
[SortOrder(1)]
public int DataType { get; set; }
Property Value
Type Description
int

DefaultValue

Declaration
[SortOrder(4)]
public string DefaultValue { get; set; }
Property Value
Type Description
string

DefaultVisibility

Declaration
[SortOrder(10)]
public UserVisibilityMode DefaultVisibility { get; set; }
Property Value
Type Description
UserVisibilityMode

Deleted

Declaration
[Browsable(false)]
public bool Deleted { get; set; }
Property Value
Type Description
bool

IsDirty

Declaration
[Browsable(false)]
public bool IsDirty { get; }
Property Value
Type Description
bool

Length

Declaration
[SortOrder(3)]
public int Length { get; set; }
Property Value
Type Description
int

ModuleDefId

Declaration
[Browsable(false)]
public int ModuleDefId { get; set; }
Property Value
Type Description
int

PortalId

Declaration
[Browsable(false)]
public int PortalId { get; set; }
Property Value
Type Description
int

ProfileVisibility

Declaration
[Browsable(false)]
public ProfileVisibility ProfileVisibility { get; set; }
Property Value
Type Description
ProfileVisibility

PropertyCategory

Declaration
[Required(true)]
[SortOrder(2)]
public string PropertyCategory { get; set; }
Property Value
Type Description
string

PropertyDefinitionId

Declaration
[Browsable(false)]
public int PropertyDefinitionId { get; set; }
Property Value
Type Description
int

PropertyName

Declaration
[Required(true)]
[IsReadOnly(true)]
[SortOrder(0)]
[RegularExpressionValidator("^[a-zA-Z0-9._%\\-+']+$")]
public string PropertyName { get; set; }
Property Value
Type Description
string

PropertyValue

Declaration
[Browsable(false)]
public string PropertyValue { get; set; }
Property Value
Type Description
string

ReadOnly

Declaration
[SortOrder(7)]
public bool ReadOnly { get; set; }
Property Value
Type Description
bool

Required

Declaration
[SortOrder(6)]
public bool Required { get; set; }
Property Value
Type Description
bool

ValidationExpression

Declaration
[SortOrder(5)]
public string ValidationExpression { get; set; }
Property Value
Type Description
string

ViewOrder

Declaration
[IsReadOnly(true)]
[SortOrder(9)]
public int ViewOrder { get; set; }
Property Value
Type Description
int

Visible

Declaration
[SortOrder(8)]
public bool Visible { get; set; }
Property Value
Type Description
bool

Methods

ClearIsDirty()

Declaration
public void ClearIsDirty()

Clone()

Declaration
public ProfilePropertyDefinition Clone()
Returns
Type Description
ProfilePropertyDefinition

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS