DropDownListContentControl Constructor (IHostItemProviderExtended, IServiceProvider, 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.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Sub New ( _
hostItemProvider As IHostItemProviderExtended, _
serviceProvider As IServiceProvider, _
cookie As String, _
container As Object, _
identifier As String _
)
'Usage
Dim hostItemProvider As IHostItemProviderExtended
Dim serviceProvider As IServiceProvider
Dim cookie As String
Dim container As Object
Dim identifier As String
Dim instance As New DropDownListContentControl(hostItemProvider, _
serviceProvider, cookie, container, _
identifier)
public DropDownListContentControl(
IHostItemProviderExtended hostItemProvider,
IServiceProvider serviceProvider,
string cookie,
Object container,
string identifier
)
Parameters
- hostItemProvider
Type: Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProviderExtended
- serviceProvider
Type: System.IServiceProvider
- cookie
Type: System.String
- container
Type: System.Object
- identifier
Type: System.String
Remarks
Do not use the DropDownListContentControl constructor to create a new DropDownListContentControl object. Instead, use one of the AddDropDownListContentControl methods. For more information, see How to: Add Content Controls to Word Documents.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DropDownListContentControl Class
DropDownListContentControl Members