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

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

IWorksheetControlCollectionContract Interface

IWorksheetControlCollectionContract Members

Microsoft.Office.Tools.Excel.Contract Namespace