Condividi tramite


IVsSearchProvider.CreateItemResult(String) Method

Definition

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

public:
 Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^ CreateItemResult(System::String ^ lpszPersistenceData);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^ CreateItemResult(Platform::String ^ lpszPersistenceData);
Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult CreateItemResult(std::wstring const & lpszPersistenceData);
public Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult CreateItemResult (string lpszPersistenceData);
abstract member CreateItemResult : string -> Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult
Public Function CreateItemResult (lpszPersistenceData As String) As IVsSearchItemResult

Parameters

lpszPersistenceData
String

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

Returns

An IVsSearchItemResult if the persisted item is valid in the current context, null otherwise.

Applies to