Share via


MultiThreadedCalculation.ThreadMode Property

Returns or sets the thread mode for the specified MultiThreadedCalculation object. Read/write XlThreadMode.

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

Syntax

'Declaration
Property ThreadMode As XlThreadMode
    Get
    Set
'Usage
Dim instance As MultiThreadedCalculation
Dim value As XlThreadMode

value = instance.ThreadMode

instance.ThreadMode = value
XlThreadMode ThreadMode { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlThreadMode
XlThreadMode

Remarks

You can set the thread mode to either xlThreadModeAutomatic or xlThreadModeManual.

See Also

Reference

MultiThreadedCalculation Interface

MultiThreadedCalculation Members

Microsoft.Office.Interop.Excel Namespace