Class Field
Inheritance
System.Object
Field
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
public class Field : PersistentObject, ICloneable, IField
Constructors
Declaration
Declaration
public Field(Field other)
Parameters
Type |
Name |
Description |
Field |
other |
|
Declaration
public Field(string name, FieldValueType valueType)
Parameters
Fields
StructureContextFieldName
Declaration
public static readonly string StructureContextFieldName
Field Value
Type |
Description |
System.String |
|
TextContextFieldName
Declaration
public static readonly string TextContextFieldName
Field Value
Type |
Description |
System.String |
|
Properties
Declaration
public FieldType FieldType { get; set; }
Property Value
Declaration
public bool IsSystemField { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual IList<string> PicklistItemNames { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<System.String> |
|
Declaration
public FieldValueType ValueType { get; set; }
Property Value
Methods
Declaration
protected virtual void CheckName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Declaration
public virtual object Clone()
Returns
Type |
Description |
System.Object |
|
Declaration
public FieldValue CreateValue()
Returns
Declaration
public virtual Field Duplicate()
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool EqualsDeclaration(Field other)
Parameters
Type |
Name |
Description |
Field |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static FieldType GetFieldType(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public static bool IsPseudoFieldName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsReservedName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSystemFieldName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsValidName(string val)
Parameters
Type |
Name |
Description |
System.String |
val |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static Field LookupSpecialField(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Declaration
public static string RemoveIllegalChars(string val)
Parameters
Type |
Name |
Description |
System.String |
val |
|
Returns
Type |
Description |
System.String |
|
Implements
System.ICloneable