IVsObjectSearch.Find Method
Searches for an object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function Find ( _
flags As UInteger, _
pobSrch As VSOBSEARCHCRITERIA(), _
<OutAttribute> ByRef pplist As IVsObjectList _
) As Integer
int Find(
uint flags,
VSOBSEARCHCRITERIA[] pobSrch,
out IVsObjectList pplist
)
int Find(
[InAttribute] unsigned int flags,
[InAttribute] array<VSOBSEARCHCRITERIA>^ pobSrch,
[OutAttribute] IVsObjectList^% pplist
)
abstract Find :
flags:uint32 *
pobSrch:VSOBSEARCHCRITERIA[] *
pplist:IVsObjectList byref -> int
function Find(
flags : uint,
pobSrch : VSOBSEARCHCRITERIA[],
pplist : IVsObjectList
) : int
Parameters
- flags
Type: System.UInt32
[in] Bit flags determining how to display the results. Constructed using values from the __VSOBSEARCHFLAGS enumeration.
- pobSrch
Type: array<Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA[]
[in] Pointer to a VSOBSEARCHCRITERIA structure defining the name and other elements of the search.
- pplist
Type: Microsoft.VisualStudio.Shell.Interop.IVsObjectList%
[out] Pointer to an IVsObjectList interface providing access to the objects meeting the search criteria.
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 IVsObjectSearch::Find(
[in] VSOBSEARCHFLAGS flags,
[in] const VSOBSEARCHCRITERIA *pobSrch,
[out,retval] IVsObjectList **ppList
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.