Udostępnij za pośrednictwem


LinkLabel 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.

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

Syntax

'Declaration
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 LinkLabel(
    Factory factory,
    IHostItemProvider hostItemProvider,
    IServiceProvider serviceProvider,
    string cookie,
    string extenderCookie,
    Object container,
    string identifier
)

Parameters

Remarks

Do not use the constructor to create a new LinkLabel. Use the AddLinkLabel() method to add a new LinkLabel to a document. For more information, see Adding Controls to Office Documents at Run Time.

.NET Framework Security

See Also

Reference

LinkLabel Class

LinkLabel Overload

Microsoft.Office.Tools.Word.Controls Namespace