SharedStatusBar.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
Public Function SetInsMode ( _
possibleOwner As SharedStatusBarOwner, _
ByRef pvInsMode As Object _
) As Integer
public int SetInsMode(
SharedStatusBarOwner possibleOwner,
ref Object pvInsMode
)
public:
virtual int SetInsMode(
SharedStatusBarOwner^ possibleOwner,
Object^% pvInsMode
) sealed
abstract SetInsMode :
possibleOwner:SharedStatusBarOwner *
pvInsMode:Object byref -> int
override SetInsMode :
possibleOwner:SharedStatusBarOwner *
pvInsMode:Object byref -> int
public final function SetInsMode(
possibleOwner : SharedStatusBarOwner,
pvInsMode : 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.
- pvInsMode
Type: System.Object%
Pointer to a VARIANT that indicates the insert mode.
Return Value
Type: System.Int32
Implements
ISharedStatusBar.SetInsMode(SharedStatusBarOwner, Object%)
.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.