ExcelLocale1033Attribute Constructor (Boolean) (2003 System)

Initializes a new instance of the ExcelLocale1033Attribute class using a value that indicates whether the locale ID 1033 is used for each call to the Microsoft Office Excel object model.

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

Syntax

'Declaration
Public Sub New ( _
    enabled As Boolean _
)
'Usage
Dim enabled As Boolean

Dim instance As New ExcelLocale1033Attribute(enabled)
public ExcelLocale1033Attribute(
    bool enabled
)

Parameters

  • enabled
    Type: System.Boolean
    true to send the locale ID 1033 to Microsoft Office Excel with each call to the object model; false to send the locale ID of the current thread.

Permissions

See Also

Reference

ExcelLocale1033Attribute Class

ExcelLocale1033Attribute Members

ExcelLocale1033Attribute Overload

Microsoft.Office.Tools.Excel Namespace