Share via


GetProjectItemCallback Delegate

While looping through the project, use this callback to see whether this project item is the one being sought.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Delegate Function GetProjectItemCallback ( _
    projectItem As ProjectItem _
) As Boolean
'Usage
Dim instance As New GetProjectItemCallback(AddressOf HandlerMethod)
[CLSCompliantAttribute(false)]
public delegate bool GetProjectItemCallback(
    ProjectItem projectItem
)
[CLSCompliantAttribute(false)]
public delegate bool GetProjectItemCallback(
    ProjectItem^ projectItem
)
JScript does not support delegates.
[<CLSCompliantAttribute(false)>]
type GetProjectItemCallback = 
    delegate of 
        projectItem:ProjectItem -> bool

Parameters

Return Value

Type: System.Boolean

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace