PictureBox Constructor (IHostItemProvider, IRuntimeServiceProvider, String, String, Object, String) (2003 System)

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

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

Syntax

'Declaration
Public Sub New ( _
    hostItemProvider As IHostItemProvider, _
    runtimeServiceProvider As IRuntimeServiceProvider, _
    primaryCookie As String, _
    extenderCookie As String, _
    container As Object, _
    identifier As String _
)
'Usage
Dim hostItemProvider As IHostItemProvider
Dim runtimeServiceProvider As IRuntimeServiceProvider
Dim primaryCookie As String
Dim extenderCookie As String
Dim container As Object
Dim identifier As String

Dim instance As New PictureBox(hostItemProvider, _
    runtimeServiceProvider, primaryCookie, _
    extenderCookie, container, identifier)
public PictureBox(
    IHostItemProvider hostItemProvider,
    IRuntimeServiceProvider runtimeServiceProvider,
    string primaryCookie,
    string extenderCookie,
    Object container,
    string identifier
)

Parameters

Remarks

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

Permissions

See Also

Reference

PictureBox Class

PictureBox Members

PictureBox Overload

Microsoft.Office.Tools.Excel.Controls Namespace