Table of Contents

Class CustomField

Namespace
Dynamicweb.Security.UserManagement.Common.CustomFields
Assembly
Dynamicweb.Security.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

systemName string
System name
tableName string
Table name
type Types
Type

Properties

DatabaseName

Gets or sets database name
[Obsolete]
public string DatabaseName { get; set; }

Property Value

string
String value

FieldType

Gets custom field type
public Types FieldType { get; }

Property Value

Types
Types instance

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

CustomFieldOptions
CustomFieldCollection

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

Type

Gets custom field type
[Obsolete("Use FieldType instead")]
public Types Type { get; }

Property Value

Types
Types instance

Methods

Delete()

Deletes custom field
public void Delete()

GetCustomFields(string)

Gets custom fields
public static CustomFieldCollection GetCustomFields(string tableName)

Parameters

tableName string
Table name

Returns

CustomFieldCollection
CustomFieldCollection object instance

Save()

Saves custom field data
public void Save()
To top