DateTimePicker (Constructor) (Factory, IHostItemProvider, IServiceProvider, String, String, Object, String)

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

Espacio de nombres:  Microsoft.Office.Tools.Word.Controls
Ensamblado:  Microsoft.Office.Tools.Word.v4.0.Utilities (en Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Sintaxis

'Declaración
Public Sub New ( _
    factory As Factory, _
    hostItemProvider As IHostItemProvider, _
    serviceProvider As IServiceProvider, _
    cookie As String, _
    extenderCookie As String, _
    container As Object, _
    identifier As String _
)
public DateTimePicker(
    Factory factory,
    IHostItemProvider hostItemProvider,
    IServiceProvider serviceProvider,
    string cookie,
    string extenderCookie,
    Object container,
    string identifier
)

Parámetros

Comentarios

No utilice el constructor para crear un nuevo DateTimePicker.Utilice el método AddDateTimePicker() para agregar un nuevo control DateTimePicker al documento.Para obtener más información, vea Agregar controles a documentos de Office en tiempo de ejecución.

Seguridad de .NET Framework

Vea también

Referencia

DateTimePicker Clase

DateTimePicker (Sobrecarga)

Microsoft.Office.Tools.Word.Controls (Espacio de nombres)