Worksheet._RangeType.Item Property
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
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
Cell1 As Object, _
Cell2 As Object _
) As Range
Get
'Usage
Dim instance As Worksheet..::.._RangeType
Dim Cell1 As Object
Dim Cell2 As Object
Dim value As Range
value = instance(Cell1, Cell2)
public Range this[
Object Cell1,
Object Cell2
] { get; }
Parameters
- Cell1
Type: System.Object
- Cell2
Type: System.Object
Property Value
Type: Microsoft.Office.Interop.Excel.Range
.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.