RichTextBox Constructor (IHostItemProviderExtended, IServiceProvider, String, String, Object, String)

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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Sub New ( _
    hostItemProvider As IHostItemProviderExtended, _
    serviceProvider As IServiceProvider, _
    cookie As String, _
    extenderCookie As String, _
    container As Object, _
    identifier As String _
)
'Usage
Dim hostItemProvider As IHostItemProviderExtended
Dim serviceProvider As IServiceProvider
Dim cookie As String
Dim extenderCookie As String
Dim container As Object
Dim identifier As String

Dim instance As New RichTextBox(hostItemProvider, _
    serviceProvider, cookie, extenderCookie, _
    container, identifier)
public RichTextBox(
    IHostItemProviderExtended hostItemProvider,
    IServiceProvider serviceProvider,
    string cookie,
    string extenderCookie,
    Object container,
    string identifier
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

RichTextBox Class

RichTextBox Members

RichTextBox Overload

Microsoft.Office.Tools.Excel.Controls Namespace