Поделиться через


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

'Declaration
Function ProductDetails ( _
    <OutAttribute> ByRef pbstrProductDetails As String _
) As Integer
int ProductDetails(
    out string pbstrProductDetails
)
int ProductDetails(
    [OutAttribute] String^% pbstrProductDetails
)
abstract ProductDetails : 
        pbstrProductDetails:string byref -> int 
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.

.NET Framework Security

See Also

Reference

IVsInstalledProduct Interface

Microsoft.VisualStudio.Shell.Interop Namespace