Click or drag to resize

FieldType Class

Represents a type of field.
Inheritance Hierarchy
System Object
Spire.Presentation FieldType

Namespace: Spire.Presentation
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public sealed class FieldType

The FieldType type exposes the following members.

Constructors
Name Description
Public method FieldType
Initializes a new instance of FieldType class.
Top
Properties
Name Description
Public property Static member DateTime
Gets current date and time in default date time format.
Public property Static member DateTime1
Gets current date and time in a first predefined format (MM/DD/YYYY).
Public property Static member DateTime10
Gets current date and time in a tenth predefined format (hh:mm).
Public property Static member DateTime11
Gets current date and time in a eleventh predefined format (hh:mm:ss).
Public property Static member DateTime12
Gets current date and time in a twelfth predefined format (hh:mm AM/PM)
Public property Static member DateTime13
Gets current date and time in a thirteenth predefined format (hh:mm:ss AM/PM)
Public property Static member DateTime2
Gets current date and time in a second predefined format (Day, Month DD, YYYY).
Public property Static member DateTime3
Gets current date and time in a third predefined format (DD Month YYYY).
Public property Static member DateTime4
Gets current date and time in a fourth predefined format (Month DD, YYYY).
Public property Static member DateTime5
Gets current date and time in a fifth predefined format (DD-Mon-YY).
Public property Static member DateTime6
Gets current date and time in a sixth predefined format (Month YY).
Public property Static member DateTime7
Gets current date and time in a seventh predefined format (Mon-YY).
Public property Static member DateTime8
Gets current date and time in a eighth predefined format (MM/DD/YYYY hh:mm AM/PM).
Public property Static member DateTime9
Gets current date and time in a ninth predefined format (MM/DD/YYYY hh:mm:ss AM/PM).
Top
Methods
Name Description
Public method Equals
Checks if this field is equal to another.
(Overrides Object Equals(Object) .)
Public method GetHashCode
Gets hashcode for this object.
(Overrides Object GetHashCode .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Operators
Name Description
Public operator Static member Equality
Checks Objects is equal.
Public operator Static member Inequality
Checks Objects is inequal.
Top
See Also