NamedRange.get_Value Method
Gets the value of the NamedRange control.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Function get_Value ( _
rangeValueDataType As Object _
) As Object
Object get_Value(
Object rangeValueDataType
)
Parameters
rangeValueDataType
Type: System.ObjectOne of the XlRangeValueDataType values that specifies the data type of the range value. The default is xlRangeValueDefault. This parameter is optional in Visual Basic.
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 Optional Parameters in Office Solutions.
.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.