Compartir a través de


IncludeInResultsCallback Delegate

Definition

Important

This API is not CLS-compliant.

Represents the method that will decide if a file should be included in the search results.

public delegate Microsoft::VisualStudio::Modeling::Shell::IncludeResults IncludeInResultsCallback(System::String ^ fileName, System::UInt32 itemId, IVsHierarchy ^ hierarchy);
[System.CLSCompliant(false)]
public delegate Microsoft.VisualStudio.Modeling.Shell.IncludeResults IncludeInResultsCallback(string fileName, uint itemId, IVsHierarchy hierarchy);
public delegate Microsoft.VisualStudio.Modeling.Shell.IncludeResults IncludeInResultsCallback(string fileName, uint itemId, IVsHierarchy hierarchy);
[<System.CLSCompliant(false)>]
type IncludeInResultsCallback = delegate of string * uint32 * IVsHierarchy -> IncludeResults
type IncludeInResultsCallback = delegate of string * uint32 * IVsHierarchy -> IncludeResults
Public Delegate Function IncludeInResultsCallback(fileName As String, itemId As UInteger, hierarchy As IVsHierarchy) As IncludeResults 

Parameters

fileName
String

The name of the project file.

itemId
UInt32

ItemID of the project file

hierarchy
IVsHierarchy

IVsHierarchy of the project file

Return Value

True if the file should be included in the search results, false otherwise.

Attributes

Applies to