method ExFileView.StopSearch ()
Stops the searching operation.

TypeDescription

Stops the searching files. Use the Search property to search for files or folders that matches a pattern or multiple patterns. The Search event is fired when searching files starts or when searching the files ends. Use the Get method to get the list of files and folders in the control.

The following VB sample displays the list of files as they are displayed:

With ExFileView1.Get(VisibleItems)
    For i = 0 To .Count - 1
        With .Item(i)
            Debug.Print .Name
        End With
    Next
End With

The following C++ sample displays the list of files as they are displayed:

CFiles files = m_fileview.GetGet( 3 /*VisibleItems*/ );
for ( long i = 0; i < files.GetCount(); i++ )
	OutputDebugString( files.GetItem( COleVariant( i ) ).GetName() );

The following VB.NET sample displays the list of files as they are displayed:

With AxExFileView1.get_Get(EXFILEVIEWLib.TypeEnum.VisibleItems)
    Dim i As Integer
    For i = 0 To .Count - 1
        With .Item(i)
            Debug.WriteLine(.Name())
        End With
    Next
End With

The following C# sample displays the list of files as they are displayed:

EXFILEVIEWLib.Files files = axExFileView1.get_Get(EXFILEVIEWLib.TypeEnum.VisibleItems);
for (int i = 0; i < files.Count; i++)
{
	EXFILEVIEWLib.File file = files[i];
	System.Diagnostics.Debug.WriteLine(file.Name);
}

The following VFP sample displays the list of files as they are displayed:

With thisform.ExFileView1.Get(3)	&& VisibleItems
	For i = 0 To .Count - 1
		With .Item(i)
			wait window nowait .Name
		EndWith
	Next
EndWith