| DateTimeToken Constructor (String, DateTime, DateTimePatternType) |
Initializes a new instance with the specified values.
Namespace: Sdl.LanguagePlatform.Core.TokenizationAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic DateTimeToken(
string text,
DateTime dateTime,
DateTimePatternType type
)
Public Sub New (
text As String,
dateTime As DateTime,
type As DateTimePatternType
)
public:
DateTimeToken(
String^ text,
DateTime dateTime,
DateTimePatternType type
)
new :
text : string *
dateTime : DateTime *
type : DateTimePatternType -> DateTimeTokenParameters
- text
- Type: SystemString
The text to assign to the token - dateTime
- Type: SystemDateTime
The DateTime object to assign to the
token's value - type
- Type: Sdl.LanguagePlatform.Core.TokenizationDateTimePatternType
The type of the date or time token
See Also
Comments