共用方式為


DateTimePicker Constructor

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public Sub New
public DateTimePicker()

Remarks

Do not use the New constructor to create a new DateTimePicker. Use the AddDateTimePicker() method to add a new DateTimePicker to the worksheet. For more information, see Adding Controls to Office Documents at Run Time.

.NET Framework Security

See Also

Reference

DateTimePicker Class

DateTimePicker Overload

Microsoft.Office.Tools.Excel.Controls Namespace