NamedRange.get_Value Method (2007 System)

Gets the value of the NamedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Function get_Value ( _
    RangeValueDataType As Object _
) As Object
'Usage
Dim instance As NamedRange 
Dim RangeValueDataType As Object 
Dim returnValue As Object 

returnValue = instance.get_Value(RangeValueDataType)
public Object get_Value(
    Object RangeValueDataType
)
public:
Object^ get_Value(
    Object^ RangeValueDataType
)
public function get_Value(
    RangeValueDataType : Object
) : Object

Parameters

Return Value

Type: System.Object
The value of the NamedRange control.

Remarks

If you do not need to specify the RangeValueDataType parameter, you can use the Value property instead of this method.

Optional Parameters

For information on optional parameters, see The Variable missing and Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

NamedRange Class

NamedRange Members

Microsoft.Office.Tools.Excel Namespace