DocumentBase Constructor
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.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Protected Sub New ( _
factory As Factory, _
serviceProvider As IServiceProvider, _
primaryCookie As String, _
identifier As String _
)
protected DocumentBase(
Factory factory,
IServiceProvider serviceProvider,
string primaryCookie,
string identifier
)
Parameters
- factory
Type: Microsoft.Office.Tools.Word.Factory
- serviceProvider
Type: System.IServiceProvider
- primaryCookie
Type: System.String
- identifier
Type: System.String
.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.