Share via


NamedRange Class (2007 System)

A NamedRange control is a range that has a unique name, exposes events, and can be bound to data. For more information, see NamedRange Control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<DefaultBindingPropertyAttribute("Value2")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class NamedRange _
    Inherits RemoteBindableComponent _
    Implements ISupportInitializeControl, ISupportInitialize
'Usage
Dim instance As NamedRange
[DefaultBindingPropertyAttribute("Value2")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class NamedRange : RemoteBindableComponent, 
    ISupportInitializeControl, ISupportInitialize
[DefaultBindingPropertyAttribute(L"Value2")]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class NamedRange sealed : public RemoteBindableComponent, 
    ISupportInitializeControl, ISupportInitialize
public final class NamedRange extends RemoteBindableComponent implements ISupportInitializeControl, ISupportInitialize

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Office.RemoteComponent
    Microsoft.VisualStudio.Tools.Office.RemoteBindableComponent
      Microsoft.Office.Tools.Excel.NamedRange

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

NamedRange Members

Microsoft.Office.Tools.Excel Namespace