Class CustomField
- Namespace
- Dynamicweb.Security.UserManagement.Common.CustomFields
- Assembly
- Dynamicweb.Core.dll
Represents custom field
public class CustomField
- Inheritance
-
CustomField
- Inherited Members
Constructors
CustomField(string, string, Types)
Creates new CustomField object instance
public CustomField(string systemName, string tableName, Types type)
Parameters
Properties
FieldType
Gets custom field type
public Types FieldType { get; }
Property Value
Name
Gets or sets custom field Name
public string Name { get; set; }
Property Value
- string
String value
Options
Gets or sets options
public CustomFieldOptions Options { get; set; }
Property Value
Sort
Gets or sets sort direction
public int Sort { get; set; }
Property Value
- int
Integer value
SystemName
Gets custom field system name
public string SystemName { get; }
Property Value
- string
String value
TableName
Gets custom field table name
public string TableName { get; }
Property Value
- string
String value
Methods
Delete()
Deletes custom field
public void Delete()
GetCustomFields(string)
Gets custom fields
public static CustomFieldCollection GetCustomFields(string tableName)
Parameters
tableName
stringTable name
Returns
- CustomFieldCollection
CustomFieldCollection object instance
Save()
Saves custom field data
public void Save()