ExcelLocale1033Attribute Constructor (Boolean)
Initializes a new instance of the ExcelLocale1033Attribute class using a value that indicates whether the locale ID 1033 is used for every call to the Microsoft Office Excel object model.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.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 Excel with every call to the object model; false to send the locale ID of the current thread.
.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.
See Also
Reference
ExcelLocale1033Attribute Class
ExcelLocale1033Attribute Members
ExcelLocale1033Attribute Overload
Microsoft.Office.Tools.Excel Namespace