INamedRangeContract.SetNewName 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 SetNewName ( _
    oldName As String, _
    newName As String _
) As Boolean
'Usage
Dim instance As INamedRangeContract
Dim oldName As String
Dim newName As String
Dim returnValue As Boolean

returnValue = instance.SetNewName(oldName, _
    newName)
bool SetNewName(
    string oldName,
    string newName
)

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

INamedRangeContract Interface

INamedRangeContract Members

Microsoft.Office.Tools.Excel.Contract Namespace