VSOBSEARCHCRITERIA VSOBSEARCHCRITERIA VSOBSEARCHCRITERIA Struct

Definition

Specifies conditions and attributes of a search request.

public struct VSOBSEARCHCRITERIA
type VSOBSEARCHCRITERIA = struct
Public Structure VSOBSEARCHCRITERIA
Inheritance
VSOBSEARCHCRITERIAVSOBSEARCHCRITERIAVSOBSEARCHCRITERIA

Examples

// If pobSrch has been set to the following values

VSOBSEARCHCRITERIA * pobSrch;

PobSrch->szName = "Train";

pobSrc->eSrchType = SO_SUBSTRING;

pobSrc->grfOptions = VSOBSO_CASESENSITIVE;

// and other parameters are

index = 2;

ListType = LLT_CLASSES;

Flags = LLF_USESEARCHFILTER;

//Then

CvsObjectList::GetList ( index, ListType, Flags, *pobSrch, **ppList);

//should return a list containing

// Train

// ToyTrain

// TrainingWheels

//but not

// train

// Strain

Remarks

The environment's object manager requests information from object lists with calls to GetList method. A VSOBSEARCHCRITERIA parameter specifies the information that is being requested. Base the selection of information returned on these search parameters.

Fields

dwCustom dwCustom dwCustom

DWORD containing custom information.

eSrchType eSrchType eSrchType

Specifies what part of an object's name is represented by szName. Values are taken from the VSOBSEARCHTYPE enumeration.

grfOptions grfOptions grfOptions

Specifies limits on the object search. Values are taken from the _VSOBSEARCHOPTIONS enumeration.

szName szName szName

String containing the name of the item to search for.

Applies to