Spread Windows Forms 7.0 Product Documentation
DateAmPmDisplayField Constructor(AmPmPattern,String,String)
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateAmPmDisplayField Class > DateAmPmDisplayField Constructor : DateAmPmDisplayField Constructor(AmPmPattern,String,String)


pattern
An GrapeCity.Win.Spread.InputMan.CellType.AmPmPattern value indicates the AMPM pattern.
amDesignator
A System.String value indicates the AMDesignator.
pmDesignator
A System.String value indicates the PMDesignator.

Glossary Item Box

Initializes a new instance of the DateAmPmDisplayField class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal pattern As AmPmPattern, _
   ByVal amDesignator As String, _
   ByVal pmDesignator As String _
)
Visual Basic (Usage)Copy Code
Dim pattern As AmPmPattern
Dim amDesignator As String
Dim pmDesignator As String
 
Dim instance As New DateAmPmDisplayField(pattern, amDesignator, pmDesignator)
C# 
public DateAmPmDisplayField( 
   AmPmPattern pattern,
   string amDesignator,
   string pmDesignator
)

Parameters

pattern
An GrapeCity.Win.Spread.InputMan.CellType.AmPmPattern value indicates the AMPM pattern.
amDesignator
A System.String value indicates the AMDesignator.
pmDesignator
A System.String value indicates the PMDesignator.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.