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
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 The Variable missing and 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.