NamedRange 类 (2007 system)
更新:2007 年 11 月
NamedRange 控件是一个具有唯一名称的范围,它可以公开事件并绑定到数据。
命名空间: Microsoft.Office.Tools.Excel
程序集: Microsoft.Office.Tools.Excel.v9.0(在 Microsoft.Office.Tools.Excel.v9.0.dll 中)
语法
声明
<DefaultBindingPropertyAttribute("Value2")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class NamedRange _
Inherits RemoteBindableComponent _
Implements ISupportInitializeControl, ISupportInitialize
用法
Dim instance As NamedRange
[DefaultBindingPropertyAttribute("Value2")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class NamedRange : RemoteBindableComponent,
ISupportInitializeControl, ISupportInitialize
继承层次结构
System.Object
Microsoft.VisualStudio.Tools.Office.RemoteComponent
Microsoft.VisualStudio.Tools.Office.RemoteBindableComponent
Microsoft.Office.Tools.Excel.NamedRange
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。