Compartir a través de


VSOBSEARCHCRITERIA2 Structure

Specifies search options. Used with methods such as GetList2 and GetList2.

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

Syntax

'Declaration
Public Structure VSOBSEARCHCRITERIA2
public struct VSOBSEARCHCRITERIA2
public value class VSOBSEARCHCRITERIA2
[<Sealed>]
type VSOBSEARCHCRITERIA2 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VSOBSEARCHCRITERIA2 type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field dwCustom DWORD specifying a custom search criteria.
Public field eSrchType Specifies the type of search to perform. Values are taken from the VSOBSEARCHTYPE enumeration.
Public field grfOptions Specifies search options. Values are taken from the _VSOBSEARCHOPTIONS2 enumeration.
Public field pIVsNavInfo Specifies an IVsNavInfo object to search.
Public field szName String containing the object name.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace