IVsDefaultToolboxTabState::GetDefaultTabExpansion Method (String^, Int32)
Visual Studio 2015
Gets the default state of a given tab.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pszTabID
-
Type:
System::String^
[In] A pointer to a string containing a unique ID specifying a tab.
- pfExpanded
-
Type:
System::Int32
[out] A Boolean value, true if the tab is expanded.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The tab is specified by unique ID—see IVsToolbox3 for methods for converting names to IDs and back.
If GetDefaultTabExpansion fails, the toolbox sets the tab state according to its own internal logic. Otherwise, the value of pfExpanded determines the setting.
Show: