IVsToolsOptions.IsToolsOptionsOpen Method
Determines if the Tools Options dialog box is open.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function IsToolsOptionsOpen ( _
<OutAttribute> ByRef pfOpen As Integer _
) As Integer
int IsToolsOptionsOpen(
out int pfOpen
)
int IsToolsOptionsOpen(
[OutAttribute] int% pfOpen
)
abstract IsToolsOptionsOpen :
pfOpen:int byref -> int
function IsToolsOptionsOpen(
pfOpen : int
) : int
Parameters
- pfOpen
Type: System.Int32%
[out] If true, the Tools Options dialog box is currently open.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Use this method to determine if the Tools Options dialog box is open.
.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.