共用方式為


IVsComponentSelectorDlg4.ComponentSelectorDlg5 Method

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

Syntax

'宣告
Function ComponentSelectorDlg5 ( _
    grfFlags As UInteger, _
    pUser As IVsComponentUser, _
    cComponents As UInteger, _
    rgpcsdComponents As IntPtr(), _
    lpszDlgTitle As String, _
    lpszHelpTopic As String, _
    <OutAttribute> ByRef pxDlgSize As UInteger, _
    <OutAttribute> ByRef pyDlgSize As UInteger, _
    cTabInitializers As UInteger, _
    rgcstiTabInitializers As VSCOMPONENTSELECTORTABINIT(), _
    <OutAttribute> ByRef pguidStartOnThisTab As Guid, _
    pszBrowseFilters As String, _
    <OutAttribute> ByRef pbstrBrowseLocation As String, _
    TargetFrameworkMoniker As String _
) As Integer
'用途
Dim instance As IVsComponentSelectorDlg4
Dim grfFlags As UInteger
Dim pUser As IVsComponentUser
Dim cComponents As UInteger
Dim rgpcsdComponents As IntPtr()
Dim lpszDlgTitle As String
Dim lpszHelpTopic As String
Dim pxDlgSize As UInteger
Dim pyDlgSize As UInteger
Dim cTabInitializers As UInteger
Dim rgcstiTabInitializers As VSCOMPONENTSELECTORTABINIT()
Dim pguidStartOnThisTab As Guid
Dim pszBrowseFilters As String
Dim pbstrBrowseLocation As String
Dim TargetFrameworkMoniker As String
Dim returnValue As Integer

returnValue = instance.ComponentSelectorDlg5(grfFlags, _
    pUser, cComponents, rgpcsdComponents, _
    lpszDlgTitle, lpszHelpTopic, pxDlgSize, _
    pyDlgSize, cTabInitializers, rgcstiTabInitializers, _
    pguidStartOnThisTab, pszBrowseFilters, _
    pbstrBrowseLocation, TargetFrameworkMoniker)
int ComponentSelectorDlg5(
    uint grfFlags,
    IVsComponentUser pUser,
    uint cComponents,
    IntPtr[] rgpcsdComponents,
    string lpszDlgTitle,
    string lpszHelpTopic,
    out uint pxDlgSize,
    out uint pyDlgSize,
    uint cTabInitializers,
    VSCOMPONENTSELECTORTABINIT[] rgcstiTabInitializers,
    out Guid pguidStartOnThisTab,
    string pszBrowseFilters,
    out string pbstrBrowseLocation,
    string TargetFrameworkMoniker
)
int ComponentSelectorDlg5(
    [InAttribute] unsigned int grfFlags, 
    [InAttribute] IVsComponentUser^ pUser, 
    [InAttribute] unsigned int cComponents, 
    [InAttribute] array<IntPtr>^ rgpcsdComponents, 
    [InAttribute] String^ lpszDlgTitle, 
    [InAttribute] String^ lpszHelpTopic, 
    [InAttribute] [OutAttribute] unsigned int% pxDlgSize, 
    [InAttribute] [OutAttribute] unsigned int% pyDlgSize, 
    [InAttribute] unsigned int cTabInitializers, 
    [InAttribute] array<VSCOMPONENTSELECTORTABINIT>^ rgcstiTabInitializers, 
    [InAttribute] [OutAttribute] Guid% pguidStartOnThisTab, 
    [InAttribute] String^ pszBrowseFilters, 
    [InAttribute] [OutAttribute] String^% pbstrBrowseLocation, 
    [InAttribute] String^ TargetFrameworkMoniker
)
abstract ComponentSelectorDlg5 : 
        grfFlags:uint32 * 
        pUser:IVsComponentUser * 
        cComponents:uint32 * 
        rgpcsdComponents:IntPtr[] * 
        lpszDlgTitle:string * 
        lpszHelpTopic:string * 
        pxDlgSize:uint32 byref * 
        pyDlgSize:uint32 byref * 
        cTabInitializers:uint32 * 
        rgcstiTabInitializers:VSCOMPONENTSELECTORTABINIT[] * 
        pguidStartOnThisTab:Guid byref * 
        pszBrowseFilters:string * 
        pbstrBrowseLocation:string byref * 
        TargetFrameworkMoniker:string -> int 
function ComponentSelectorDlg5(
    grfFlags : uint, 
    pUser : IVsComponentUser, 
    cComponents : uint, 
    rgpcsdComponents : IntPtr[], 
    lpszDlgTitle : String, 
    lpszHelpTopic : String, 
    pxDlgSize : uint, 
    pyDlgSize : uint, 
    cTabInitializers : uint, 
    rgcstiTabInitializers : VSCOMPONENTSELECTORTABINIT[], 
    pguidStartOnThisTab : Guid, 
    pszBrowseFilters : String, 
    pbstrBrowseLocation : String, 
    TargetFrameworkMoniker : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsComponentSelectorDlg4 Interface

IVsComponentSelectorDlg4 Members

Microsoft.VisualStudio.Shell.Interop Namespace