IMetabaseObjectFindInfo.CaseSensitive

Syntax

CaseSensitive: Boolean;

Description

The CaseSensitive property determines whether the search is case-sensitive.

Comments

Available values:

Example

To execute the example, add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    MDescs: IMetabaseObjectDescriptors;
    MDesc: IMetabaseObjectDescriptor;
    FInfo: IMetabaseObjectFindInfo;
Begin
    MB := MetabaseClass.Active;
    FInfo := MB.CreateFindInfo;
    FInfo.Text := "Object";
    FInfo.Attribute := FindAttribute.NameOrIdent;
    FInfo.CaseSensitive := True;
    FInfo.WholeWordsOnly := False;
    //Search objects
    MDescs := MB.Find(FInfo);
    //View results
    For Each MDesc In MDescs Do
        Debug.WriteLine("Identifier: " + MDesc.Id + "; Name: " + MDesc.Name);
    End For;
End Sub UserProc;

After executing the example all objects containing the Object text in the name or in the identifier are searched. Case is taken into account during the search. Names and identifiers of the found objects are displayed in the development environment console.

See also:

IMetabaseObjectFindInfo