ISharedStatusBar.SetInsMode Method
Sets the mode of the editor in the status bar to either insert or overwrite.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function SetInsMode ( _
possibleOwner As SharedStatusBarOwner, _
ByRef insMode As Object _
) As Integer
int SetInsMode(
SharedStatusBarOwner possibleOwner,
ref Object insMode
)
int SetInsMode(
SharedStatusBarOwner^ possibleOwner,
Object^% insMode
)
abstract SetInsMode :
possibleOwner:SharedStatusBarOwner *
insMode:Object byref -> int
function SetInsMode(
possibleOwner : SharedStatusBarOwner,
insMode : Object
) : int
Parameters
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- insMode
Type: System.Object%
Pointer to a VARIANT that indicates the insert mode.
Return Value
Type: System.Int32
.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.