XmlMappedRange Constructor (IHostItemProvider, IRuntimeServiceProvider, String, Object, String) (2003 System)
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
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Public Sub New ( _
hostItemProvider As IHostItemProvider, _
runtimeServiceProvider As IRuntimeServiceProvider, _
primaryCookie As String, _
container As Object, _
identifier As String _
)
'Usage
Dim hostItemProvider As IHostItemProvider
Dim runtimeServiceProvider As IRuntimeServiceProvider
Dim primaryCookie As String
Dim container As Object
Dim identifier As String
Dim instance As New XmlMappedRange(hostItemProvider, _
runtimeServiceProvider, primaryCookie, _
container, identifier)
public XmlMappedRange(
IHostItemProvider hostItemProvider,
IRuntimeServiceProvider runtimeServiceProvider,
string primaryCookie,
Object container,
string identifier
)
Parameters
- hostItemProvider
Type: Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider
- runtimeServiceProvider
Type: Microsoft.VisualStudio.Tools.Applications.Runtime.IRuntimeServiceProvider
- primaryCookie
Type: System.String
- container
Type: System.Object
- identifier
Type: System.String
Remarks
XmlMappedRange controls cannot be created programmatically. For information, see How to: Add XMLMappedRange Controls to Worksheets.
Permissions
- 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.