Share via


YearFormat Enumeration

Specifies the year format in the YearFormat property of the DateFieldFormat class.

Namespace CrystalDecisions.Shared Assembly CrystalDecisions.Shared (CrystalDecisions.Shared.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Enumeration YearFormat
    Inherits Enum
    Implements IComparable, IFormattable, IConvertible
[SerializableAttribute]
public sealed enumeration YearFormat : Enum, IComparable, IFormattable, IConvertible

Members

Member Description
LongYear Year is printed in long format with four digits.
NoYear Year is not displayed.
ShortYear Year is printed in short format with 2 digits.

Inheritance Hierarchy

Object
   ValueType
      Enum
         YearFormat

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

CrystalDecisions.Shared Namespace