共用方式為


Sys.CultureInfo Constructor

Initializes a new instance of the Sys.CultureInfo class.

var a = new MyControl(name, numberFormat, dateTimeFormat);

Parameters

Parameter

Description

name

The culture value (locale) that represents a language and region.

numberFormat

A culture-sensitive numeric formatting string.

dateTimeFormat

A culture-sensitive date formatting string.

See Also

Reference

Sys.CultureInfo Class