IVsInstalledProduct.IdIcoLogoForAboutbox Method

Obtains the icon used in the splash screen and the About dialog box on the Help menu.

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

Syntax

'宣言
Function IdIcoLogoForAboutbox ( _
    <OutAttribute> ByRef pIdIco As UInteger _
) As Integer
'使用
Dim instance As IVsInstalledProduct
Dim pIdIco As UInteger
Dim returnValue As Integer

returnValue = instance.IdIcoLogoForAboutbox(pIdIco)
int IdIcoLogoForAboutbox(
    out uint pIdIco
)
int IdIcoLogoForAboutbox(
    [OutAttribute] unsigned int% pIdIco
)
function IdIcoLogoForAboutbox(
    pIdIco : uint
) : int

Parameters

  • pIdIco
    Type: System.UInt32%

    [out] Pointer to the icon used in the splash screen and About dialog box on the Help menu.

Return Value

Type: System.Int32

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsInstalledProduct::IdIcoLogoForAboutbox(
   [out, retval] UINT *pIdIco
);

Examples

You can place the hard-coded paths and strings used by this method in your project's resource file. For example, in the Figures Sample, the following path to the icon used in the About dialog box is in the resource file.

IDI_HELPABOUT ICON DISCARDABLE "..\\figedit\\figicon.ico"

Permissions

See Also

Reference

IVsInstalledProduct Interface

IVsInstalledProduct Members

Microsoft.VisualStudio.Shell.Interop Namespace