Compartilhar via


IVsSearchProvider.CreateItemResult Method

Creates a new instance of a search result from a persistence string previously obtained by getting the value of the persistence data string.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function CreateItemResult ( _
    lpszPersistenceData As String _
) As IVsSearchItemResult
IVsSearchItemResult CreateItemResult(
    string lpszPersistenceData
)
IVsSearchItemResult^ CreateItemResult(
    [InAttribute] String^ lpszPersistenceData
)
abstract CreateItemResult : 
        lpszPersistenceData:string -> IVsSearchItemResult
function CreateItemResult(
    lpszPersistenceData : String
) : IVsSearchItemResult

Parameters

  • lpszPersistenceData
    Type: String

    [in] The persistence string from which to re-create a previous search result.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult
An IVsSearchItemResult if the persisted item is valid in the current context, null otherwise.

.NET Framework Security

See Also

Reference

IVsSearchProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace