Worksheet.get_Range Method
生活随笔
收集整理的這篇文章主要介紹了
Worksheet.get_Range Method
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
[轉(zhuǎn)自:http://technet.microsoft.com/zh-cn/library/microsoft.office.tools.excel.worksheet.get_range(de-de).aspx]
Worksheet.get_Range Method
Gets a Microsoft.Office.Interop.Excel.Range object that represents a cell or a range of cells. Use the Range property instead of this method.
?
Namespace: ?Microsoft.Office.Tools.Excel
Assembly: ?Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
?
Syntax
C#:
Range get_Range(Object Cell1,Object Cell2 )Parameters
Cell1The name of the range in A1-style notation in the language of the application.It can include the range operator (a colon), the intersection operator (a space), or the union operator (a comma).It can also include dollar signs, but they are ignored.You can use a local defined name in any part of the range.If you use a name, the name is assumed to be in the language of the application.This parameter is required.
The cell in the lower-right corner of the range.Can be a Microsoft.Office.Interop.Excel.Range that contains a single cell, an entire column, an entire row, or it can be a string that names a single cell in the language of the application.This parameter is optional.
Return Value
Type: Microsoft.Office.Interop.Excel.RangeA Microsoft.Office.Interop.Excel.Range that represents a cell or a range of cells.
.NET Framework Security
.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.
轉(zhuǎn)載于:https://www.cnblogs.com/anchenjie007/archive/2013/03/15/2961446.html
總結(jié)
以上是生活随笔為你收集整理的Worksheet.get_Range Method的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: (学)DEV在设计界面部分组件显示红叉并
- 下一篇: YII 控件使用笔记