IVsInstalledProduct.ProductDetails Method

Obtains a pointer to the string containing the product details that are displayed in the About dialog box on the Help menu. Not called for the splash screen.

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

Syntax

'宣言
Function ProductDetails ( _
    <OutAttribute> ByRef pbstrProductDetails As String _
) As Integer
'使用
Dim instance As IVsInstalledProduct
Dim pbstrProductDetails As String
Dim returnValue As Integer

returnValue = instance.ProductDetails(pbstrProductDetails)
int ProductDetails(
    out string pbstrProductDetails
)
int ProductDetails(
    [OutAttribute] String^% pbstrProductDetails
)
function ProductDetails(
    pbstrProductDetails : String
) : int

Parameters

  • pbstrProductDetails
    Type: System.String%

    [out] Pointer to a string containing the product details.

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::ProductDetails(
   [out, retval] BSTR *pbstrProductDetails
);

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 product details is in the resource file.

IDS_PRODUCTDETAILS "Figures Product Sample"

Permissions

See Also

Reference

IVsInstalledProduct Interface

IVsInstalledProduct Members

Microsoft.VisualStudio.Shell.Interop Namespace