Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function GetGeneralTabID ( _
<OutAttribute> ByRef pbstrTabID As String _
) As Integer
int GetGeneralTabID(
out string pbstrTabID
)
int GetGeneralTabID(
[OutAttribute] String^% pbstrTabID
)
abstract GetGeneralTabID :
pbstrTabID:string byref -> int
function GetGeneralTabID(
pbstrTabID : String
) : int
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.
Remarks
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.
COM Signature
From vsshell80.idl:
HRESULT GetGeneralTabID(
[out] BSTR* pbstrTabID
);
.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.