IWorksheetControlCollectionContract.CreateNamedRange Method
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.Contract
Assembly: Microsoft.VisualStudio.Tools.Office.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Office.Contract.v9.0.dll)
Syntax
'Declaration
Function CreateNamedRange ( _
range As IntPtr, _
name As String _
) As String
'Usage
Dim instance As IWorksheetControlCollectionContract
Dim range As IntPtr
Dim name As String
Dim returnValue As String
returnValue = instance.CreateNamedRange(range, _
name)
string CreateNamedRange(
IntPtr range,
string name
)
Parameters
- range
Type: System.IntPtr
- name
Type: System.String
Return Value
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.
See Also
Reference
IWorksheetControlCollectionContract Interface