Partager via


Factory.CreateBookmark Method

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Function CreateBookmark ( _
    serviceProvider As IServiceProvider, _
    hostItemProvider As IHostItemProvider, _
    primaryCookie As String, _
    identifier As String, _
    containerComponent As Object _
) As Bookmark
Bookmark CreateBookmark(
    IServiceProvider serviceProvider,
    IHostItemProvider hostItemProvider,
    string primaryCookie,
    string identifier,
    Object containerComponent
)

Parameters

Return Value

Type: Microsoft.Office.Tools.Word.Bookmark

.NET Framework Security

See Also

Reference

Factory Interface

Microsoft.Office.Tools.Word Namespace