IVsToolbox3::GetGeneralTabID Method (String^)

 

Gets the ID for the General tab.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetGeneralTabID(
	[OutAttribute] String^% pbstrTabID
)

Parameters

pbstrTabID
Type: System::String^

[out] The locale-invariant ID of the Toolbox tab.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

GetGeneralTabID returns the unique ID of the General tab, so packages can select that tab without having to hard-code the ID or attempt to look it up in a resource table.

From vsshell80.idl:

HRESULT GetGeneralTabID(
    [out] BSTR* pbstrTabID
);
Return to top
Show: