Dela via


IVsBrowseContainersList.FindContainer Method

Finds a container of a component.

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

Syntax

'Declaration
Function FindContainer ( _
    pData As VSCOMPONENTSELECTORDATA(), _
    <OutAttribute> ByRef pulIndex As UInteger _
) As Integer
int FindContainer(
    VSCOMPONENTSELECTORDATA[] pData,
    out uint pulIndex
)
int FindContainer(
    [InAttribute] array<VSCOMPONENTSELECTORDATA>^ pData, 
    [OutAttribute] unsigned int% pulIndex
)
abstract FindContainer : 
        pData:VSCOMPONENTSELECTORDATA[] * 
        pulIndex:uint32 byref -> int
function FindContainer(
    pData : VSCOMPONENTSELECTORDATA[], 
    pulIndex : uint
) : int

Parameters

  • pulIndex
    Type: UInt32%

    [out]  Index of the container in an array of components.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsBrowseContainersList::FindContainer(
   [in] VSCOMPONENTSELECTORDATA * pData, 
   [out] ULONG * pulIndex
);

.NET Framework Security

See Also

Reference

IVsBrowseContainersList Interface

Microsoft.VisualStudio.Shell.Interop Namespace