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

‘선언
Function FindContainer ( _
    pData As VSCOMPONENTSELECTORDATA(), _
    <OutAttribute> ByRef pulIndex As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsBrowseContainersList
Dim pData As VSCOMPONENTSELECTORDATA()
Dim pulIndex As UInteger
Dim returnValue As Integer

returnValue = instance.FindContainer(pData, _
    pulIndex)
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: System.UInt32%
    [out]  Index of the container in an array of components.

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 vsshell80.idl:

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

.NET Framework Security

See Also

Reference

IVsBrowseContainersList Interface

IVsBrowseContainersList Members

Microsoft.VisualStudio.Shell.Interop Namespace